wav: remove a use of deprecated AV_METADATA_ macro
authorAnton Khirnov <anton@khirnov.net>
Sat, 16 Jul 2011 07:53:40 +0000 (09:53 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 17 Jul 2011 04:58:29 +0000 (06:58 +0200)
libavformat/wav.c

index 5b9f6e4..1f12ad1 100644 (file)
@@ -363,7 +363,7 @@ static int wav_parse_bext_tag(AVFormatContext *s, int64_t size)
 
         coding_history[size] = 0;
         if ((ret = av_dict_set(&s->metadata, "coding_history", coding_history,
 
         coding_history[size] = 0;
         if ((ret = av_dict_set(&s->metadata, "coding_history", coding_history,
-                               AV_METADATA_DONT_STRDUP_VAL)) < 0)
+                               AV_DICT_DONT_STRDUP_VAL)) < 0)
             return ret;
     }
 
             return ret;
     }