[FFmpeg-cvslog] PRINT_CODEC_SUPPORTED: fix used variable

Michael Niedermayer git at videolan.org
Fri Nov 9 03:31:55 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 22 01:04:14 2012 +0200| [769354348a3acddb36582277a7d3f26e6d179369] | committer: Michael Niedermayer

PRINT_CODEC_SUPPORTED: fix used variable

Reviewed-by: Stefano Sabatini <stefasab at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=769354348a3acddb36582277a7d3f26e6d179369
---

 cmdutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmdutils.c b/cmdutils.c
index 2375d4e..1c392d7 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -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) {                                                 \



More information about the ffmpeg-cvslog mailing list