[FFmpeg-devel] [PATCH 21/21] avfilter/af_aformat: Add uninit function

Nicolas George george at nsup.org
Sun Aug 9 19:48:24 EEST 2020


Andreas Rheinhardt (12020-08-09):
> Fixes memleaks in case init fails (e.g. because of invalid parameters
> like 'aformat=sample_fmts=s16:cl=wtf') or also if query_formats is never
> called.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavfilter/af_aformat.c | 16 +++++++++++++++-
>  1 file changed, 15 insertions(+), 1 deletion(-)

LGTM.

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: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200809/86ffd39b/attachment.sig>


More information about the ffmpeg-devel mailing list