From 60dd40d007dcdda7a9cd49d29a8dbdaf0dccba49 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 6 Feb 2026 10:45:15 +0100 Subject: [PATCH] test/img_format: remove dead code --- test/img_format.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/img_format.c b/test/img_format.c index aec6ed6513..b993b27568 100644 --- a/test/img_format.c +++ b/test/img_format.c @@ -10,9 +10,6 @@ #include "video/mp_image.h" #include "video/sws_utils.h" -static enum AVPixelFormat pixfmt_unsup[100]; -static int num_pixfmt_unsup; - static const char *comp_type(enum mp_component_type type) { switch (type) { @@ -218,11 +215,6 @@ int main(int argc, char *argv[]) } } - for (int z = 0; z < num_pixfmt_unsup; z++) { - const AVPixFmtDescriptor *avd = av_pix_fmt_desc_get(pixfmt_unsup[z]); - fprintf(f, "Unsupported: %s\n", avd->name); - } - fclose(f); assert_text_files_equal(refdir, outdir, "img_formats.txt",