aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/metadata.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.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.c')
-rw-r--r--libavformat/metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/metadata.c b/libavformat/metadata.c
index 6357afd033..e6b0d54cf7 100644
--- a/libavformat/metadata.c
+++ b/libavformat/metadata.c
@@ -86,7 +86,7 @@ int av_metadata_set2(AVMetadata **pm, const char *key, const char *value, int fl
return 0;
}
-#if LIBAVFORMAT_VERSION_MAJOR == 52
+#if LAVF_API_OLD_METADATA
int av_metadata_set(AVMetadata **pm, const char *key, const char *value)
{
return av_metadata_set2(pm, key, value, 0);