On 2012-01-24 06:55:18 +0100, Anton Khirnov wrote:
> It has been deprecated only recently.
> ---
>  libavcodec/version.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavcodec/version.h b/libavcodec/version.h
> index 77e1682..1de790e 100644
> --- a/libavcodec/version.h
> +++ b/libavcodec/version.h
> @@ -114,13 +114,13 @@
>  #define FF_API_DATA_POINTERS (LIBAVCODEC_VERSION_MAJOR < 54)
>  #endif
>  #ifndef FF_API_OLD_DECODE_AUDIO
> -#define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 54)
> +#define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
>  #endif
>  #ifndef FF_API_AVFRAME_AGE
>  #define FF_API_AVFRAME_AGE (LIBAVCODEC_VERSION_MAJOR < 54)
>  #endif
>  #ifndef FF_API_OLD_ENCODE_AUDIO
> -#define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 54)
> +#define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
>  #endif
>  
>  #endif /* AVCODEC_VERSION_H */

also it's something that has many users and change code to the new api
is more than a single line change

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

Reply via email to