diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-06 01:27:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-06 01:38:18 +0200 |
commit | e4b53d995c0341b573c37d3fa43e5e76ec594608 (patch) | |
tree | 0f452d3e2cb772da91e15c2db65f2c89054a6f62 | |
parent | 958df52ae045311a82f81afa725c3a78353c508e (diff) | |
download | ffmpeg-e4b53d995c0341b573c37d3fa43e5e76ec594608.tar.gz |
mov: dont clip timestamps at 0
Fixes Ticket1251
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 24387c88bb..f0aa85c5e3 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3131,8 +3131,6 @@ static int mov_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti if (stream_index >= s->nb_streams) return AVERROR_INVALIDDATA; - if (sample_time < 0) - sample_time = 0; st = s->streams[stream_index]; sample = mov_seek_stream(s, st, sample_time, flags); |