summaryrefslogtreecommitdiff
path: root/libavformat/id3v2enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-03 20:13:51 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-03 20:21:01 +0100
commitb3f4ff28767fd5a592e15711b0230662ec804c7d (patch)
tree6abc1bd5bd98071cfae019edbdf8d2b33d9b8f04 /libavformat/id3v2enc.c
parent23acfcd9e57ecdfa2f638176d670ddb5436b4b90 (diff)
id3v2enc: av_strcasecmp()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/id3v2enc.c')
-rw-r--r--libavformat/id3v2enc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/id3v2enc.c b/libavformat/id3v2enc.c
index 8ed1c7b29f..c3732e4789 100644
--- a/libavformat/id3v2enc.c
+++ b/libavformat/id3v2enc.c
@@ -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;