1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
Jonas Licht 59ad504696 libavformat/mov.c: use calculated dts offset when seeking in streams
Subtract the calculated dts offset from the requested timestamp before
seeking. This fixes an error "Error while filtering: Operation not
permitted" observed with a short file which contains only one key frame
and starts with negative timestamps.

Then, av_index_search_timestamp() returns a valid negative timestamp,
but mov_seek_stream bails out with AVERROR_INVALIDDATA.

Fixes ticket #6139.

Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
Signed-off-by: Peter Große <pegro@friiks.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-10-30 01:09:40 +01:00
..
2015-06-28 10:16:40 +02:00
2013-01-08 18:47:09 +00:00
2014-06-18 14:55:28 +02:00
2013-04-18 00:24:25 +02:00
2013-04-25 10:13:27 +02:00
2014-03-06 19:28:20 +01:00
2015-01-27 09:15:07 +01:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00