PRINT_CODEC_SUPPORTED: fix used variable
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Oct 2012 23:04:14 +0000 (01:04 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 02:08:29 +0000 (03:08 +0100)
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils.c

index 2375d4e..1c392d7 100644 (file)
@@ -888,7 +888,7 @@ int show_formats(void *optctx, const char *opt, const char *arg)
 
 #define PRINT_CODEC_SUPPORTED(codec, field, type, list_name, term, get_name) \
     if (codec->field) {                                                      \
-        const type *p = c->field;                                            \
+        const type *p = codec->field;                                        \
                                                                              \
         printf("    Supported " list_name ":");                              \
         while (*p != term) {                                                 \