diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-25 14:27:42 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-25 14:27:42 +0000 |
commit | 2ef6c1242aeebf863b86f34229490a023bfe65dc (patch) | |
tree | c6ab0ec0003050c62ce4d19b36935c9dd4cb7a64 /libavformat/rtsp.c | |
parent | 472e12f510dc5cc457edd2b1543bacfe9f952f2a (diff) | |
download | ffmpeg-2ef6c1242aeebf863b86f34229490a023bfe65dc.tar.gz |
Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place.
av_metadata_set() is going to be dropped at the next major bump.
Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-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 06a6e9c55f..fec91f11b8 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -379,11 +379,11 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1, } break; case 's': - av_metadata_set(&s->metadata, "title", p); + av_metadata_set2(&s->metadata, "title", p, 0); break; case 'i': if (s->nb_streams == 0) { - av_metadata_set(&s->metadata, "comment", p); + av_metadata_set2(&s->metadata, "comment", p, 0); break; } break; |