From: Michael Niedermayer Date: Tue, 18 Oct 2011 15:52:42 +0000 (+0200) Subject: mov: Raise ctts dts_shift threshold by 1 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=be401448e51f209a13e95d30f17d85d0168e1b40;p=ffmpeg mov: Raise ctts dts_shift threshold by 1 This fixes issue2246neu.mp4 Signed-off-by: Michael Niedermayer --- diff --git a/libavformat/mov.c b/libavformat/mov.c index 3bbfd263138..e9f4162e402 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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+1dts_shift = FFMAX(sc->dts_shift, -duration); }