diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-21 02:48:39 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-22 22:39:50 +0100 |
commit | 717ec57c7e22a5ad52fd5d447bdbad6d4c9e327f (patch) | |
tree | 7c8e64c521ec926ff024921d25c710563389c885 /libavformat/movenc.c | |
parent | a89c01253190b9eb9de8e28a3252423bf7732511 (diff) | |
download | ffmpeg-717ec57c7e22a5ad52fd5d447bdbad6d4c9e327f.tar.gz |
avformat/movenc: shift positive timestamps to 0 if edit lists cannot be used
Fix handling of timestamps which start far away from 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index af7efc9ba1..80ddd2c78f 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -3761,7 +3761,7 @@ static int mov_write_header(AVFormatContext *s) } if (!supports_edts(mov) && s->avoid_negative_ts < 0) { - s->avoid_negative_ts = 1; + s->avoid_negative_ts = 2; } /* Non-seekable output is ok if using fragmentation. If ism_lookahead |