diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-18 17:52:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-19 02:56:41 +0200 |
commit | be401448e51f209a13e95d30f17d85d0168e1b40 (patch) | |
tree | 71816ba7a7629031b5145822f7f45f7e1915de46 /libavformat/mov.c | |
parent | 70d9fb696393277247101da47e67d568a6aea4d9 (diff) | |
download | ffmpeg-streaming-be401448e51f209a13e95d30f17d85d0168e1b40.zip ffmpeg-streaming-be401448e51f209a13e95d30f17d85d0168e1b40.tar.gz |
mov: Raise ctts dts_shift threshold by 1
This fixes issue2246neu.mp4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 3bbfd26..e9f4162 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+1<entries) + if (duration < 0 && i+2<entries) sc->dts_shift = FFMAX(sc->dts_shift, -duration); } |