mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
mov: Raise ctts dts_shift threshold by 1
This fixes issue2246neu.mp4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
70d9fb6963
commit
be401448e5
@ -1605,7 +1605,7 @@ static int mov_read_ctts(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
|
||||
sc->ctts_data[i].count = count;
|
||||
sc->ctts_data[i].duration= duration;
|
||||
if (duration < 0 && i+1<entries)
|
||||
if (duration < 0 && i+2<entries)
|
||||
sc->dts_shift = FFMAX(sc->dts_shift, -duration);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user