]> git.sesse.net Git - ffmpeg/commit
avfilter: Remove redundant ff_formats/channel_layouts_unref()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 7 Aug 2020 21:46:33 +0000 (23:46 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 23 Aug 2020 23:01:02 +0000 (01:01 +0200)
commite013a71fe3cd8b544d1288a2ed80521fa35e44c1
tree4099def47c80e5a29af4ea331a57de8740738170
parent257cd5fa389465032b2b222fff5ada9dfebeb4d0
avfilter: Remove redundant ff_formats/channel_layouts_unref()

ff_add_format() and ff_add_channel_layout() already unref the list upon
error.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/af_aformat.c
libavfilter/vf_shuffleplanes.c
libavfilter/vf_weave.c