summaryrefslogtreecommitdiff
path: root/libavformat/r3d.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/r3d.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/r3d.c')
-rw-r--r--libavformat/r3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/r3d.c b/libavformat/r3d.c
index 398ef62048..556a32b20e 100644
--- a/libavformat/r3d.c
+++ b/libavformat/r3d.c
@@ -97,7 +97,7 @@ static int r3d_read_red1(AVFormatContext *s)
get_buffer(s->pb, filename, 257);
filename[sizeof(filename)-1] = 0;
- av_metadata_set(&st->metadata, "filename", filename);
+ av_metadata_set2(&st->metadata, "filename", filename, 0);
dprintf(s, "filename %s\n", filename);
dprintf(s, "resolution %dx%d\n", st->codec->width, st->codec->height);