[FFmpeg-devel] [PATCH 1/4] PRINT_CODEC_SUPPORTED: fix used variable

Michael Niedermayer michaelni at gmx.at
Mon Oct 22 02:01:34 CEST 2012


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 cmdutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmdutils.c b/cmdutils.c
index 0163faf..8467a5a 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -810,7 +810,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) {                                                 \
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list