summaryrefslogtreecommitdiff
blob: 7d18ace5e8936e15219490e344e48b4780a84d50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- 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);
     }
   }