From 0fdc3cd86fddd690d1fd0ea9ddaa3b0ba3e0af68 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 14 May 2014 15:23:31 +0200 Subject: [PATCH] avutil/version: add FF_CONST_AVUTIL53 This will become "const" on the next major API version Signed-off-by: Michael Niedermayer --- libavutil/version.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libavutil/version.h b/libavutil/version.h index bc5d4582f3..7140705319 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -138,6 +138,14 @@ #define FF_API_OPT_TYPE_METADATA (LIBAVUTIL_VERSION_MAJOR < 54) #endif +#ifndef FF_CONST_AVUTIL53 +#if LIBAVUTIL_VERSION_MAJOR >= 53 +#define FF_CONST_AVUTIL53 const +#else +#define FF_CONST_AVUTIL53 +#endif +#endif + /** * @} */