[FFmpeg-cvslog] r16961 - trunk/libavformat/rtsp.c
aurel
subversion
Tue Feb 3 00:09:40 CET 2009
Author: aurel
Date: Tue Feb 3 00:09:39 2009
New Revision: 16961
Log:
use new metadata API in rtsp demuxer
Modified:
trunk/libavformat/rtsp.c
Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c Tue Feb 3 00:08:25 2009 (r16960)
+++ trunk/libavformat/rtsp.c Tue Feb 3 00:09:39 2009 (r16961)
@@ -376,11 +376,11 @@ static void sdp_parse_line(AVFormatConte
}
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;
More information about the ffmpeg-cvslog
mailing list