test/img_format: remove dead code
This commit is contained in:
1 parent
e01165d3db
commit
60dd40d007
1 file changed
-8
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user