]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/id3v2enc.c
mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()
[ffmpeg] / 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;