diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-07 23:46:33 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-24 01:01:02 +0200 |
commit | e013a71fe3cd8b544d1288a2ed80521fa35e44c1 (patch) | |
tree | 4099def47c80e5a29af4ea331a57de8740738170 /libavfilter/vf_shuffleplanes.c | |
parent | 257cd5fa389465032b2b222fff5ada9dfebeb4d0 (diff) |
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>
Diffstat (limited to 'libavfilter/vf_shuffleplanes.c')
-rw-r--r-- | libavfilter/vf_shuffleplanes.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_shuffleplanes.c b/libavfilter/vf_shuffleplanes.c index 6c718893ce..c5a376d50b 100644 --- a/libavfilter/vf_shuffleplanes.c +++ b/libavfilter/vf_shuffleplanes.c @@ -64,7 +64,6 @@ static int query_formats(AVFilterContext *ctx) if (i != 4) continue; if ((ret = ff_add_format(&formats, fmt)) < 0) { - ff_formats_unref(&formats); return ret; } } |