cmdutils: Check for and report the correct codec capability
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 19 Oct 2015 11:57:22 +0000 (13:57 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 25 Oct 2015 21:47:13 +0000 (22:47 +0100)
cmdutils.c

index 5cb22f6..e4bd74f 100644 (file)
@@ -995,8 +995,8 @@ static void print_codec(const AVCodec *c)
     if (c->capabilities & AV_CODEC_CAP_CHANNEL_CONF)
         printf("chconf ");
     if (c->capabilities & AV_CODEC_CAP_PARAM_CHANGE)
-        printf("small ");
-    if (c->capabilities & AV_CODEC_CAP_PARAM_CHANGE)
+        printf("paramchange ");
+    if (c->capabilities & AV_CODEC_CAP_VARIABLE_FRAME_SIZE)
         printf("variable ");
     if (c->capabilities & (AV_CODEC_CAP_FRAME_THREADS |
                            AV_CODEC_CAP_SLICE_THREADS |