[FFmpeg-devel] [PATCH 04/13] lavc: Deprecate av_hwaccel_next() and av_register_hwaccel()

Rostislav Pehlivanov atomnuker at gmail.com
Sat Nov 18 21:00:34 EET 2017


On 18 November 2017 at 18:47, Mark Thompson <sw at jkqxz.net> wrote:

> ---
>  doc/APIchanges       |  4 ++++
>  libavcodec/avcodec.h | 13 +++++++++++++
>  libavcodec/utils.c   | 16 +++++-----------
>  libavcodec/version.h |  3 +++
>  4 files changed, 25 insertions(+), 11 deletions(-)
>
>
>  int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op))
>  {
> diff --git a/libavcodec/version.h b/libavcodec/version.h
> index 5b25a9a8ac..693f67386c 100644
> --- a/libavcodec/version.h
> +++ b/libavcodec/version.h
> @@ -123,6 +123,9 @@
>  #ifndef FF_API_CODEC_GET_SET
>  #define FF_API_CODEC_GET_SET     (LIBAVCODEC_VERSION_MAJOR < 59)
>  #endif
> +#ifndef FF_API_USER_VISIBLE_AVHWACCEL
> +#define FF_API_USER_VISIBLE_AVHWACCEL (LIBAVCODEC_VERSION_MAJOR < 60)
>

60? That's 2 bumps away, this should be 59, no?


More information about the ffmpeg-devel mailing list