summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-06 01:27:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-06 01:38:18 +0200
commite4b53d995c0341b573c37d3fa43e5e76ec594608 (patch)
tree0f452d3e2cb772da91e15c2db65f2c89054a6f62 /libavformat/mov.c
parent958df52ae045311a82f81afa725c3a78353c508e (diff)
mov: dont clip timestamps at 0
Fixes Ticket1251 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
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);