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/utils.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/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 466d079573..625a190a83 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2544,7 +2544,7 @@ AVChapter *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base, int6 #if LIBAVFORMAT_VERSION_INT < (53<<16) av_free(chapter->title); #endif - av_metadata_set(&chapter->metadata, "title", title); + av_metadata_set2(&chapter->metadata, "title", title, 0); chapter->id = id; chapter->time_base= time_base; chapter->start = start; |