1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavformat
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
..
2017-10-05 17:10:23 +02:00
2017-09-09 12:07:14 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-10-29 10:35:40 -03:00
2017-10-29 19:40:52 +02:00
2017-10-19 22:07:21 +02:00
2017-09-20 03:31:48 +02:00
2017-10-19 22:07:21 +02:00
2017-09-01 18:52:56 +08:00
2017-10-05 17:10:23 +02:00
2017-08-29 01:33:47 +02:00
2017-08-30 12:13:01 +02:00
2017-09-07 15:19:22 +02:00
2017-09-01 02:16:33 -03:00
2017-10-29 12:32:24 +08:00
2017-10-19 22:07:21 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-09-23 19:37:21 -03:00
2017-10-05 17:10:23 +02:00
2017-09-01 17:56:33 +02:00
2017-09-01 02:16:33 -03:00
2017-09-21 16:17:02 -08:00
2017-09-09 12:07:14 +02:00
2017-09-01 02:16:33 -03:00
2017-09-22 01:33:22 +02:00