diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-06 00:09:23 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-06 00:09:23 +0000 |
commit | 176aee8282c7d53b658de07ddf5bc4b0b3e5a7fc (patch) | |
tree | b64b2df5abf9aa8082ccf6da44dcce3450323290 /libavformat/metadata.h | |
parent | e232c2529e61844890c77c8e6426be233e2e07be (diff) | |
download | ffmpeg-176aee8282c7d53b658de07ddf5bc4b0b3e5a7fc.tar.gz |
Add a metadata compatibility layer, so that when a user application set
metadata using old API, it is automatically converted to new API before
muxing.
Originally committed as revision 16447 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/metadata.h')
-rw-r--r-- | libavformat/metadata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/metadata.h b/libavformat/metadata.h index 515b6cdb3b..2826ecc72e 100644 --- a/libavformat/metadata.h +++ b/libavformat/metadata.h @@ -35,4 +35,8 @@ struct AVMetadata{ AVMetadataTag *elems; }; +#if LIBAVFORMAT_VERSION_MAJOR < 53 +void ff_metadata_sync_compat(AVFormatContext *s); +#endif + #endif /* AVFORMAT_METADATA_H */ |