diff utils.c @ 5982:f74198942337 libavformat

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.
author stefano
date Sun, 25 Apr 2010 14:27:42 +0000
parents 178de7695c6c
children 10867093c93c
line wrap: on
line diff
--- a/utils.c	Thu Apr 22 20:34:30 2010 +0000
+++ b/utils.c	Sun Apr 25 14:27:42 2010 +0000
@@ -2544,7 +2544,7 @@
 #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;