aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rpl.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-25 14:27:42 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-25 14:27:42 +0000
commit2ef6c1242aeebf863b86f34229490a023bfe65dc (patch)
treec6ab0ec0003050c62ce4d19b36935c9dd4cb7a64 /libavformat/rpl.c
parent472e12f510dc5cc457edd2b1543bacfe9f952f2a (diff)
downloadffmpeg-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/rpl.c')
-rw-r--r--libavformat/rpl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rpl.c b/libavformat/rpl.c
index b33d865b7e..f0fba3e66f 100644
--- a/libavformat/rpl.c
+++ b/libavformat/rpl.c
@@ -131,11 +131,11 @@ static int rpl_read_header(AVFormatContext *s, AVFormatParameters *ap)
// for the text in a few cases; samples needed.)
error |= read_line(pb, line, sizeof(line)); // ARMovie
error |= read_line(pb, line, sizeof(line)); // movie name
- av_metadata_set(&s->metadata, "title" , line);
+ av_metadata_set2(&s->metadata, "title" , line, 0);
error |= read_line(pb, line, sizeof(line)); // date/copyright
- av_metadata_set(&s->metadata, "copyright", line);
+ av_metadata_set2(&s->metadata, "copyright", line, 0);
error |= read_line(pb, line, sizeof(line)); // author and other
- av_metadata_set(&s->metadata, "author" , line);
+ av_metadata_set2(&s->metadata, "author" , line, 0);
// video headers
vst = av_new_stream(s, 0);