On Sun, Oct 29, 2017 at 12:11:39PM +0100, Peter Große wrote: > From: Jonas Licht <jonas.li...@fem.tu-ilmenau.de> > > 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.li...@fem.tu-ilmenau.de> > Signed-off-by: Peter Große <pe...@friiks.de> > --- > > Compared to the other seek results in this test, the values are not > that far off. > > libavformat/mov.c | 6 ++++-- > tests/ref/seek/extra-mp4 | 16 ++++++++-------- > 2 files changed, 12 insertions(+), 10 deletions(-)
will apply thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends. -- Gandalf
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel