aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/metadata.c')
-rw-r--r--libavformat/metadata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/metadata.c b/libavformat/metadata.c
index 7d9a8645df..68d42fd257 100644
--- a/libavformat/metadata.c
+++ b/libavformat/metadata.c
@@ -91,7 +91,9 @@ int av_metadata_set(AVMetadata **pm, const char *key, const char *value)
{
return av_metadata_set2(pm, key, value, 0);
}
+#endif
+#if FF_API_OLD_METADATA2
void av_metadata_conv(AVFormatContext *ctx, const AVMetadataConv *d_conv,
const AVMetadataConv *s_conv)
{