changeset 4361:3ae604db67e0 libavformat

use new metadata API in rtsp demuxer
author aurel
date Mon, 02 Feb 2009 23:09:39 +0000
parents f0facf61e48d
children 20a889f18f23
files rtsp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Mon Feb 02 23:08:25 2009 +0000
+++ b/rtsp.c	Mon Feb 02 23:09:39 2009 +0000
@@ -376,11 +376,11 @@
         }
         break;
     case 's':
-        av_strlcpy(s->title, p, sizeof(s->title));
+        av_metadata_set(&s->metadata, "title", p);
         break;
     case 'i':
         if (s->nb_streams == 0) {
-            av_strlcpy(s->comment, p, sizeof(s->comment));
+            av_metadata_set(&s->metadata, "comment", p);
             break;
         }
         break;