aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/metadata_compat.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-08-17 20:23:19 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-08-17 20:23:19 +0000
commitdd872bf49f0ef1226c4a1e99e908a5213a59b32f (patch)
tree75fb4c07df1f243c97af4af9bbc96ddd0e8f0c3e /libavformat/metadata_compat.c
parent072e3efd1b0ca3c5d08fa2119e88fb36b5708592 (diff)
downloadffmpeg-dd872bf49f0ef1226c4a1e99e908a5213a59b32f.tar.gz
add LAVF_API_OLD_METADATA define to disable the deprecated metadata API
Originally committed as revision 24818 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/metadata_compat.c')
-rw-r--r--libavformat/metadata_compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/metadata_compat.c b/libavformat/metadata_compat.c
index 26d22242e8..25afc46bc8 100644
--- a/libavformat/metadata_compat.c
+++ b/libavformat/metadata_compat.c
@@ -23,7 +23,7 @@
#include "metadata.h"
#include "libavutil/avstring.h"
-#if LIBAVFORMAT_VERSION_MAJOR < 53
+#if LAVF_API_OLD_METADATA
#define SIZE_OFFSET(x) sizeof(((AVFormatContext*)0)->x),offsetof(AVFormatContext,x)
@@ -145,4 +145,4 @@ void ff_metadata_mux_compat(AVFormatContext *ctx)
}
}
-#endif /* LIBAVFORMAT_VERSION_MAJOR < 53 */
+#endif /* LAVF_API_OLD_METADATA */