diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-14 15:23:31 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-14 15:44:01 +0200 |
commit | 0fdc3cd86fddd690d1fd0ea9ddaa3b0ba3e0af68 (patch) | |
tree | 7e6e0871aa2ca64d23bbe7cb54550be767ea6f43 | |
parent | dbd1fdd21400189f64aedde6a94ea14beca5a85e (diff) | |
download | ffmpeg-0fdc3cd86fddd690d1fd0ea9ddaa3b0ba3e0af68.tar.gz |
avutil/version: add FF_CONST_AVUTIL53
This will become "const" on the next major API version
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/version.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 + /** * @} */ |