On Wed, Aug 15, 2012 at 10:37:20AM +0200, Anton Khirnov wrote:
> ---
>  avconv_opt.c |  147 
> +++++++++++++++++++++++++++++++++-------------------------
>  1 file changed, 83 insertions(+), 64 deletions(-)
> 
> --- a/avconv_opt.c
> +++ b/avconv_opt.c
> @@ -148,28 +148,33 @@ static double parse_frame_aspect_ratio(const char *arg)
>  
> -static int opt_audio_codec(OptionsContext *o, const char *opt, const char 
> *arg)
> +static int opt_audio_codec(void *optctx, const char *opt, const char *arg)
>  {
> +    OptionsContext *o = optctx;
>      return parse_option(o, "codec:a", arg, options);
>  }

What about changing the function pointer signature instead?

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to