Commit b3f4ff28 authored by Michael Niedermayer's avatar Michael Niedermayer

id3v2enc: av_strcasecmp()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 23acfcd9
...@@ -19,7 +19,6 @@ ...@@ -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) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment