aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-10-18 12:45:15 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-10-18 12:45:15 +0000
commita3a29c265147de35413f2a25857a65e38398fa49 (patch)
treea20591650c08f199a0516faa6163044cf0888bd2
parent94bdb1f80ce8d8abc4728ba0c8edc6af4310eaaf (diff)
downloadffmpeg-a3a29c265147de35413f2a25857a65e38398fa49.tar.gz
metadata: make av_metadata_set2 case insensitive by default
Originally committed as revision 25515 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/metadata.c b/libavformat/metadata.c
index 1164fbb495..0c9eb36fc9 100644
--- a/libavformat/metadata.c
+++ b/libavformat/metadata.c
@@ -49,7 +49,7 @@ av_metadata_get(AVMetadata *m, const char *key, const AVMetadataTag *prev, int f
int av_metadata_set2(AVMetadata **pm, const char *key, const char *value, int flags)
{
AVMetadata *m= *pm;
- AVMetadataTag *tag= av_metadata_get(m, key, NULL, AV_METADATA_MATCH_CASE);
+ AVMetadataTag *tag= av_metadata_get(m, key, NULL, flags);
if(!m)
m=*pm= av_mallocz(sizeof(*m));