[FFmpeg-devel] [PATCH v1 1/2] avformat/utils: make avformat_free_context safety

Hendrik Leppkes h.leppkes at gmail.com
Fri Nov 29 09:45:03 EET 2019


On Fri, Nov 29, 2019 at 8:21 AM Steven Liu <lq at chinaffmpeg.org> wrote:
>
> set the AVformatContext to NULL use av_freep before
> avformat_free_context return
>
> Suggested-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>


This is an API and ABI change. You cannot do this. We would usually
introduce a new function with the new signature and deprecate the old
one, but I don't think its really worth it here.

- Hendrik


More information about the ffmpeg-devel mailing list