changeset 832:d2db0feae0ca trunk

[svn] Fix logic error that caused us to lock on to wav.
author chainsaw
date Mon, 13 Mar 2006 14:18:03 -0800
parents f51680f2dab0
children d17d96d91e7d
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	Mon Mar 13 13:58:32 2006 -0800
+++ b/Plugins/Input/aac/src/libmp4.c	Mon Mar 13 14:18:03 2006 -0800
@@ -190,7 +190,7 @@
     return 0;
 
   if((mp4file2 = MP4Read(filename, 0))){
-    if((mp4track = getAACTrack(mp4file2)) >= 0){
+    if((mp4track = getAACTrack(mp4file2)) > 0){
       MP4Close(mp4file2);				// This is a valid MP4 file, good to go
       return 1;
     } else {