On Sun, 10 Mar 2013 00:32:06 +0100, Diego Biurrun <di...@biurrun.de> wrote:
> This allows reporting missing features and requesting samples from
> all libraries in a standard way; with a simplified API.
> ---
>  libavcodec/avcodec.h |    2 ++
>  libavcodec/utils.c   |    3 +++
>  libavcodec/version.h |    3 +++
>  libavutil/internal.h |   20 ++++++++++++++++++++
>  libavutil/log.c      |   39 +++++++++++++++++++++++++++++++++++++++
>  5 files changed, 67 insertions(+)
> 
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 8e89e1f..1160ded 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -4147,6 +4147,7 @@ void av_fast_padded_malloc(void *ptr, unsigned int 
> *size, size_t min_size);
>   */
>  unsigned int av_xiphlacing(unsigned char *s, unsigned int v);
>  
> +#if FF_API_MISSING_SAMPLE
>  /**
>   * Log a generic warning message about a missing feature. This function is
>   * intended to be used internally by Libav (libavcodec, libavformat, etc.)
> @@ -4170,6 +4171,7 @@ void av_log_missing_feature(void *avc, const char 
> *feature, int want_sample);
>   * @param[in] msg string containing an optional message, or NULL if no 
> message
>   */
>  void av_log_ask_for_sample(void *avc, const char *msg, ...) 
> av_printf_format(2, 3);

Missing attribute_deprecated

Otherwise looks ok

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to