Commit e4b53d99 authored by Michael Niedermayer's avatar Michael Niedermayer

mov: dont clip timestamps at 0

Fixes Ticket1251
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 958df52a
...@@ -3131,8 +3131,6 @@ static int mov_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti ...@@ -3131,8 +3131,6 @@ static int mov_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
if (stream_index >= s->nb_streams) if (stream_index >= s->nb_streams)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
if (sample_time < 0)
sample_time = 0;
st = s->streams[stream_index]; st = s->streams[stream_index];
sample = mov_seek_stream(s, st, sample_time, flags); sample = mov_seek_stream(s, st, sample_time, flags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment