this function does not seem to exist in libav release 9.

Luca, I'd therefore rather drop this patch.

Cheers,
Reinhard

On Thu, Jul 4, 2013 at 9:24 PM, Luca Barbato <[email protected]> wrote:
> Module: libav
> Branch: master
> Commit: 0420c810ceb430003f9f2793c5cfa1fe84657f3d
>
> Author:    Luca Barbato <[email protected]>
> Committer: Luca Barbato <[email protected]>
> Date:      Thu Jun 27 03:17:32 2013 +0200
>
> log: pass the correct parameters to missing_feature_sample
>
> CC:[email protected]
>
> ---
>
>  libavutil/log.c |    9 ++-------
>  1 files changed, 2 insertions(+), 7 deletions(-)
>
> diff --git a/libavutil/log.c b/libavutil/log.c
> index bd46b0c..7d574f6 100644
> --- a/libavutil/log.c
> +++ b/libavutil/log.c
> @@ -182,12 +182,9 @@ void av_log_set_callback(void (*callback)(void*, int, 
> const char*, va_list))
>      av_log_callback = callback;
>  }
>
> -static void missing_feature_sample(int sample, void *avc, const char *msg, 
> ...)
> +static void missing_feature_sample(int sample, void *avc, const char *msg,
> +                                   va_list argument_list)
>  {
> -    va_list argument_list;
> -
> -    va_start(argument_list, msg);
> -
>      av_vlog(avc, AV_LOG_WARNING, msg, argument_list);
>      av_log(avc, AV_LOG_WARNING, " is not implemented. Update your Libav "
>             "version to the newest one from Git. If the problem still "
> @@ -197,8 +194,6 @@ static void missing_feature_sample(int sample, void *avc, 
> const char *msg, ...)
>          av_log(avc, AV_LOG_WARNING, "If you want to help, upload a sample "
>                 "of this file to ftp://upload.libav.org/incoming/ "
>                 "and contact the libav-devel mailing list.\n");
> -
> -    va_end(argument_list);
>  }
>
>  void avpriv_request_sample(void *avc, const char *msg, ...)
>
> _______________________________________________
> libav-commits mailing list
> [email protected]
> https://lists.libav.org/mailman/listinfo/libav-commits



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

Reply via email to