[FFmpeg-devel] [PATCH] avformat/aviobuf: realloc memory in ffio_ensure_seekback()

Nicolas George george at nsup.org
Tue Sep 15 14:57:43 EEST 2020


Paul B Mahol (12020-09-15):
> It leaks nothing in case of failure.
> In case of failure old memory is kept and
> seeking back will fail and thus give errors when syncing.

My bad, it was a common pattern, but avoided here.

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


More information about the ffmpeg-devel mailing list