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

Stefano Sabatini stefasab at gmail.com
Tue Oct 23 22:42:10 CEST 2012


On date Monday 2012-10-22 02:01:34 +0200, Michael Niedermayer encoded:
> 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;                                        \

LGTM, thanks.
-- 
FFmpeg = Fanciful and Fundamentalist Merciless Puritan Educated Gospel


More information about the ffmpeg-devel mailing list