[FFmpeg-devel] [PATCH] ffmpeg: fix broken channel_layout option

Chris Gomez wariogomez215 at gmail.com
Fri Feb 1 20:55:06 CET 2013


Ofg
On Feb 1, 2013 10:02 AM, "Matthieu Bouron" <matthieu.bouron at gmail.com>
wrote:

> Fixes ticket #2163.
> ---
>  ffmpeg_opt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
> index b285f4c..a418e86 100644
> --- a/ffmpeg_opt.c
> +++ b/ffmpeg_opt.c
> @@ -2140,7 +2140,7 @@ static int opt_channel_layout(void *optctx, const
> char *opt, const char *arg)
>          return AVERROR(EINVAL);
>      }
>      snprintf(layout_str, sizeof(layout_str), "%"PRIu64, layout);
> -    ret = opt_default(NULL, opt, layout_str);
> +    ret = opt_default_new(o, opt, layout_str);
>      if (ret < 0)
>          return ret;
>
> --
> 1.8.1.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list