[FFmpeg-devel] [PATCH 19/21] avfilter: Remove redundant ff_formats/channel_layouts_unref()

Nicolas George george at nsup.org
Sun Aug 9 19:44:51 EEST 2020


Andreas Rheinhardt (12020-08-09):
> ff_add_format() and ff_add_channel_layout() already unref the list upon
> error.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> These ff_formats/channel_layouts_unref() also didn't do anything before
> this patchset, as none of these lists has any owner.

LGTM, good catch.

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/f01bf7ea/attachment.sig>


More information about the ffmpeg-devel mailing list