X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_shuffleplanes.c;h=c5a376d50bf21a8dd92952029eca1e714547769e;hb=ae2075265b8e779ed0545aa4f9b238013b4e446f;hp=6c718893ce55de27421770d4c73eb34efe064919;hpb=0528adbd85d6bf6733bab4be34e70544519f11dd;p=ffmpeg diff --git a/libavfilter/vf_shuffleplanes.c b/libavfilter/vf_shuffleplanes.c index 6c718893ce5..c5a376d50bf 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; } }