[FFmpeg-devel] [PATCH] libavformat/subfile: Fix SEEK_CUR and SEEK_END seeking

Nicolas George george at nsup.org
Fri Jul 19 15:28:07 EEST 2019


Andreas Rheinhardt (12019-07-15):
> Up until now, when performing a SEEK_END seek, the subfile protocol
> ignored the desired position (relative to EOF) and used the current
> absolute offset in the input file instead.
> 
> And when performing a SEEK_CUR seek, the current position has been
> ignored.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> Sorry for the noise of another email, but I just found out that SEEK_CUR
> is buggy as well. This probably hasn't been detected earlier because
> avio_seek translates SEEK_CUR to SEEK_SET internally.

I think this patch is necessary, and I intend to apply it.

But in the meantime, can you test if this patch:

https://ffmpeg.org/pipermail/ffmpeg-devel/2019-July/246765.html

does resolve the problem with concat: that made you look into it?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190719/2d2079b3/attachment.sig>


More information about the ffmpeg-devel mailing list