From 6bb8720f00e2e6209665f819fb351fd42b82d5d0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 15 Feb 2014 08:14:03 +0100 Subject: AVOptions: deprecate unused AV_OPT_FLAG_METADATA It was never used since it was added and the things it was intended for are now exported differently. --- libavutil/opt.h | 2 ++ libavutil/version.h | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libavutil') diff --git a/libavutil/opt.h b/libavutil/opt.h index 0181379b78..2568a7103e 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -262,7 +262,9 @@ typedef struct AVOption { int flags; #define AV_OPT_FLAG_ENCODING_PARAM 1 ///< a generic parameter which can be set by the user for muxing or encoding #define AV_OPT_FLAG_DECODING_PARAM 2 ///< a generic parameter which can be set by the user for demuxing or decoding +#if FF_API_OPT_TYPE_METADATA #define AV_OPT_FLAG_METADATA 4 ///< some data extracted or inserted into the file like title, comment, ... +#endif #define AV_OPT_FLAG_AUDIO_PARAM 8 #define AV_OPT_FLAG_VIDEO_PARAM 16 #define AV_OPT_FLAG_SUBTITLE_PARAM 32 diff --git a/libavutil/version.h b/libavutil/version.h index 5196a674de..74946d0f5c 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -55,7 +55,7 @@ #define LIBAVUTIL_VERSION_MAJOR 53 #define LIBAVUTIL_VERSION_MINOR 3 -#define LIBAVUTIL_VERSION_MICRO 0 +#define LIBAVUTIL_VERSION_MICRO 1 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ LIBAVUTIL_VERSION_MINOR, \ @@ -108,6 +108,9 @@ #ifndef FF_API_XVMC #define FF_API_XVMC (LIBAVUTIL_VERSION_MAJOR < 54) #endif +#ifndef FF_API_OPT_TYPE_METADATA +#define FF_API_OPT_TYPE_METADATA (LIBAVUTIL_VERSION_MAJOR < 54) +#endif /** * @} -- cgit v1.2.3