mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-05 14:30:00 +01:00
avformat/lrcdec: Fix fate-sub-lrc-ms-remux on x86-32
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
michaelni
parent
ca20d42cd7
commit
0243cf89b1
@@ -92,7 +92,7 @@ static int64_t read_ts(const char *p, int64_t *start)
|
|||||||
if (ret != 3 || prefix[0] != '[' || ss < 0 || ss > 60) {
|
if (ret != 3 || prefix[0] != '[' || ss < 0 || ss > 60) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
*start = (mm * 60 + ss) * AV_TIME_BASE;
|
*start = llrint((mm * 60 + ss) * AV_TIME_BASE);
|
||||||
if (prefix[1] == '-') {
|
if (prefix[1] == '-') {
|
||||||
*start = - *start;
|
*start = - *start;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user