[FFmpeg-cvslog] mov: dont clip timestamps at 0

Michael Niedermayer git at videolan.org
Mon Aug 6 01:46:43 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug  6 01:27:52 2012 +0200| [e4b53d995c0341b573c37d3fa43e5e76ec594608] | committer: Michael Niedermayer

mov: dont clip timestamps at 0

Fixes Ticket1251

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e4b53d995c0341b573c37d3fa43e5e76ec594608
---

 libavformat/mov.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 24387c8..f0aa85c 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);



More information about the ffmpeg-cvslog mailing list