From be401448e51f209a13e95d30f17d85d0168e1b40 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 18 Oct 2011 17:52:42 +0200 Subject: [PATCH] mov: Raise ctts dts_shift threshold by 1 This fixes issue2246neu.mp4 Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 3bbfd26313..e9f4162e40 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); }