From 769354348a3acddb36582277a7d3f26e6d179369 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 22 Oct 2012 01:04:14 +0200 Subject: [PATCH] PRINT_CODEC_SUPPORTED: fix used variable Reviewed-by: Stefano Sabatini Signed-off-by: Michael Niedermayer --- cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdutils.c b/cmdutils.c index 2375d4e8a0..1c392d7c71 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) { \