diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-02-02 23:09:39 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-02-02 23:09:39 +0000 |
commit | da61e4136ab9d70ac6e851f32dde205c669b9a74 (patch) | |
tree | 088e9525c213d494617750ddd886a4e125a34ff8 | |
parent | f3650b239eced1e9cde762fc4386a4ba93521176 (diff) | |
download | ffmpeg-da61e4136ab9d70ac6e851f32dde205c669b9a74.tar.gz |
use new metadata API in rtsp demuxer
Originally committed as revision 16961 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/rtsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 116383e1b9..e9be143a67 100644 --- 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; |