mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
mov: dont clip timestamps at 0
Fixes Ticket1251 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
958df52ae0
commit
e4b53d995c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user