From 2ef6c1242aeebf863b86f34229490a023bfe65dc Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 25 Apr 2010 14:27:42 +0000 Subject: 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 --- libavformat/r3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/r3d.c') 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); -- cgit v1.2.3