diff rtsp.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 c5a3e1951fc6
children ea7a5879a250
line wrap: on
line diff
--- a/rtsp.c	Thu Apr 22 20:34:30 2010 +0000
+++ b/rtsp.c	Sun Apr 25 14:27:42 2010 +0000
@@ -379,11 +379,11 @@
         }
         break;
     case 's':
-        av_metadata_set(&s->metadata, "title", p);
+        av_metadata_set2(&s->metadata, "title", p, 0);
         break;
     case 'i':
         if (s->nb_streams == 0) {
-            av_metadata_set(&s->metadata, "comment", p);
+            av_metadata_set2(&s->metadata, "comment", p, 0);
             break;
         }
         break;