changeset 861:cfa2d55986fd trunk

[svn] Only compare 4 bytes, unless someone had a reason.
author nemo
date Wed, 22 Mar 2006 16:58:39 -0800
parents ee25017cb472
children 5d3878484c4f
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	Tue Mar 21 11:28:00 2006 -0800
+++ b/Plugins/Input/aac/src/libmp4.c	Wed Mar 22 16:58:39 2006 -0800
@@ -208,7 +208,7 @@
 	      return 0;
       }
       vfs_fread(magic, 1, 4, file);
-      if (!strncasecmp(magic, "ftyp", 6)) {
+      if (!strncasecmp(magic, "ftyp", 4)) {
            vfs_fclose(file);
            return 1;
       }