mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-05 23:34:35 +08:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user