aboutsummaryrefslogtreecommitdiff
path: root/libavformat/metadata.c
diff options
context:
space:
mode:
authorStefano Sabatini2010-04-25 14:27:42 +0000
committerStefano Sabatini2010-04-25 14:27:42 +0000
commit2ef6c1242aeebf863b86f34229490a023bfe65dc (patch)
treec6ab0ec0003050c62ce4d19b36935c9dd4cb7a64 /libavformat/metadata.c
parent472e12f510dc5cc457edd2b1543bacfe9f952f2a (diff)
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/metadata.c')
-rw-r--r--libavformat/metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/metadata.c b/libavformat/metadata.c
index 0f2b5297b8..ff7ffe9560 100644
--- a/libavformat/metadata.c
+++ b/libavformat/metadata.c
@@ -133,7 +133,7 @@ void metadata_conv(AVMetadata **pm, const AVMetadataConv *d_conv,
break;
}
}
- av_metadata_set(&dst, key, mtag->value);
+ av_metadata_set2(&dst, key, mtag->value, 0);
}
av_metadata_free(pm);
*pm = dst;