git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3650b2
)
use new metadata API in rtsp demuxer
author
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 2 Feb 2009 23:09:39 +0000
(23:09 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 2 Feb 2009 23:09:39 +0000
(23:09 +0000)
Originally committed as revision 16961 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtsp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtsp.c
b/libavformat/rtsp.c
index
116383e
..
e9be143
100644
(file)
--- a/
libavformat/rtsp.c
+++ b/
libavformat/rtsp.c
@@
-376,11
+376,11
@@
static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
}
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;