[FFmpeg-cvslog] id3v2enc: av_strcasecmp()

Michael Niedermayer git at videolan.org
Thu Nov 3 20:23:28 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov  3 20:13:51 2011 +0100| [b3f4ff28767fd5a592e15711b0230662ec804c7d] | committer: Michael Niedermayer

id3v2enc: av_strcasecmp()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b3f4ff28767fd5a592e15711b0230662ec804c7d
---

 libavformat/id3v2enc.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libavformat/id3v2enc.c b/libavformat/id3v2enc.c
index 8ed1c7b..c3732e4 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;



More information about the ffmpeg-cvslog mailing list