diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-25 14:27:42 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-25 14:27:42 +0000 |
commit | 2ef6c1242aeebf863b86f34229490a023bfe65dc (patch) | |
tree | c6ab0ec0003050c62ce4d19b36935c9dd4cb7a64 /libavformat/metadata_compat.c | |
parent | 472e12f510dc5cc457edd2b1543bacfe9f952f2a (diff) | |
download | ffmpeg-2ef6c1242aeebf863b86f34229490a023bfe65dc.tar.gz |
Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place.
av_metadata_set() is going to be dropped at the next major bump.
Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/metadata_compat.c')
-rw-r--r-- | libavformat/metadata_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/metadata_compat.c b/libavformat/metadata_compat.c index 9869a1733a..ac99c05c60 100644 --- a/libavformat/metadata_compat.c +++ b/libavformat/metadata_compat.c @@ -109,7 +109,7 @@ void ff_metadata_demux_compat(AVFormatContext *ctx) #define FILL_METADATA(s, key, value) { \ if (value && *value && !av_metadata_get(s->metadata, #key, NULL, 0)) \ - av_metadata_set(&s->metadata, #key, value); \ + av_metadata_set2(&s->metadata, #key, value, 0); \ } #define FILL_METADATA_STR(s, key) FILL_METADATA(s, key, s->key) #define FILL_METADATA_INT(s, key) { \ |