id3v2enc: av_strcasecmp()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-03 20:13:51 +01:00
parent 23acfcd9e5
commit b3f4ff2876

View File

@ -19,7 +19,6 @@
*/ */
#include <stdint.h> #include <stdint.h>
#include <strings.h>
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/dict.h" #include "libavutil/dict.h"
#include "libavutil/intreadwrite.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))) { while ((mtag = av_dict_get(*pm, "", mtag, AV_DICT_IGNORE_SUFFIX))) {
key = mtag->key; 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 */ /* split date tag using "YYYY-MM-DD" format into year and month/day segments */
value = mtag->value; value = mtag->value;
i = 0; i = 0;