Commit da61e413 authored by Aurelien Jacobs's avatar Aurelien Jacobs

use new metadata API in rtsp demuxer

Originally committed as revision 16961 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f3650b23
...@@ -376,11 +376,11 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1, ...@@ -376,11 +376,11 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
} }
break; break;
case 's': case 's':
av_strlcpy(s->title, p, sizeof(s->title)); av_metadata_set(&s->metadata, "title", p);
break; break;
case 'i': case 'i':
if (s->nb_streams == 0) { if (s->nb_streams == 0) {
av_strlcpy(s->comment, p, sizeof(s->comment)); av_metadata_set(&s->metadata, "comment", p);
break; break;
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment