--- libmp4.c.orig 2004-03-25 20:41:17.000000000 -0800 +++ libmp4.c 2004-03-25 21:01:50.000000000 -0800 @@ -34,6 +34,9 @@ static int mp4_isFile(char *); static void* mp4Decode(void *); +void getMP4info(char* file); +int getAACTrack(MP4FileHandle file); + InputPlugin mp4_ip = { 0, // handle @@ -112,11 +115,13 @@ gchar* extention; extention = strrchr(filename, '.'); + if (extention && - !strcasecmp(extention, ".mp4") || // official extention - !strcasecmp(extention, ".m4a") || // Apple mp4 extention - !strcasecmp(extention, ".aac") // old MPEG2/4-AAC extention - ){ + (!strcasecmp(extention, ".mp4") || // official extention + !strcasecmp(extention, ".m4a") || // Apple mp4 extention + !strcasecmp(extention, ".aac") // old MPEG2/4-AAC extention + )) + { return (1); } }