summaryrefslogtreecommitdiff
path: root/libavformat/metadata.c
diff options
context:
space:
mode:
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 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));