changeset 30:8ff63455cf71 trunk

[svn] Oops, filename should have been 'ext'.
author nenolod
date Tue, 25 Oct 2005 21:51:01 -0700
parents 1d6c09e16e1e
children b1dcf238b2ba
files Input/aac/src/libmp4.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Input/aac/src/libmp4.c	Tue Oct 25 21:49:17 2005 -0700
+++ b/Input/aac/src/libmp4.c	Tue Oct 25 21:51:01 2005 -0700
@@ -117,9 +117,9 @@
 
   if(filename){
     ext = strrchr(filename, '.');
-    if (!strncasecmp(filename, ".mp4", 4) ||	// official extention
-	!strncasecmp(filename, ".m4a", 4) ||	// Apple mp4 extention
-	!strncasecmp(filename, ".aac", 4)	// old MPEG2/4-AAC extention
+    if (!strncasecmp(ext, ".mp4", 4) ||	// official extention
+	!strncasecmp(ext, ".m4a", 4) ||	// Apple mp4 extention
+	!strncasecmp(ext, ".aac", 4)	// old MPEG2/4-AAC extention
 	){
       return (1);
     }