summaryrefslogtreecommitdiff
path: root/libavformat/metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/metadata.h')
-rw-r--r--libavformat/metadata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/metadata.h b/libavformat/metadata.h
index 3706bc409d..197ca515e6 100644
--- a/libavformat/metadata.h
+++ b/libavformat/metadata.h
@@ -39,6 +39,9 @@ struct AVMetadataConv{
const char *native;
const char *generic;
};
+#if !FF_API_OLD_METADATA
+typedef struct AVMetadataConv AVMetadataConv;
+#endif
#if FF_API_OLD_METADATA
void ff_metadata_demux_compat(AVFormatContext *s);
@@ -47,5 +50,7 @@ void ff_metadata_mux_compat(AVFormatContext *s);
void metadata_conv(AVMetadata **pm, const AVMetadataConv *d_conv,
const AVMetadataConv *s_conv);
+void ff_metadata_conv_ctx(AVFormatContext *ctx, const AVMetadataConv *d_conv,
+ const AVMetadataConv *s_conv);
#endif /* AVFORMAT_METADATA_H */