]> git.sesse.net Git - ffmpeg/commitdiff
id3v2enc: av_strcasecmp()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Nov 2011 19:13:51 +0000 (20:13 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Nov 2011 19:21:01 +0000 (20:21 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/id3v2enc.c

index 8ed1c7b29f2ee4785f61d8c32c8ca086d94316dd..c3732e478935524e05d29d1cb449af8abcf45e01 100644 (file)
@@ -19,7 +19,6 @@
  */
 
 #include <stdint.h>
-#include <strings.h>
 #include "libavutil/avstring.h"
 #include "libavutil/dict.h"
 #include "libavutil/intreadwrite.h"
@@ -108,7 +107,7 @@ static void id3v2_3_metadata_split_date(AVDictionary **pm)
 
     while ((mtag = av_dict_get(*pm, "", mtag, AV_DICT_IGNORE_SUFFIX))) {
         key = mtag->key;
-        if (!strcasecmp(key, "date")) {
+        if (!av_strcasecmp(key, "date")) {
             /* split date tag using "YYYY-MM-DD" format into year and month/day segments */
             value = mtag->value;
             i = 0;