changeset 407:33823c38e10d trunk

[svn] Use glib function for glib types and care about pointer signedness.
author chainsaw
date Sun, 08 Jan 2006 15:02:54 -0800
parents 5928c035fa4e
children ee3bf186998e
files Plugins/Input/aac/src/libmp4.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/aac/src/libmp4.c	Sun Jan 08 14:14:06 2006 -0800
+++ b/Plugins/Input/aac/src/libmp4.c	Sun Jan 08 15:02:54 2006 -0800
@@ -471,7 +471,7 @@
     input->file_name = (char*)g_basename(temp);
     input->file_ext = ext ? ext+1 : NULL;
     input->file_path = temp;
-    if(!strncmp(buffer, "ID3", 3)){
+    if(!g_ascii_strncasecmp((gchar*)buffer, "ID3", 3)){
       gint size = 0;
 
       fseek(file, 0, SEEK_SET);