]> git.pld-linux.org Git - packages/faad2.git/commitdiff
- patch sent by Krzysztof Miasko
authoraverne <averne@pld-linux.org>
Sat, 12 Jun 2004 12:48:38 +0000 (12:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    faad2-no-extension.patch -> 1.1

faad2-no-extension.patch [new file with mode: 0644]

diff --git a/faad2-no-extension.patch b/faad2-no-extension.patch
new file mode 100644 (file)
index 0000000..951344c
--- /dev/null
@@ -0,0 +1,20 @@
+--- faad2.warn/plugins/xmms/src/libmp4.c       2003-12-03 19:37:56.000000000 +0100
++++ faad2/plugins/xmms/src/libmp4.c    2004-06-12 13:53:42.364218112 +0200
+@@ -112,14 +112,15 @@
+     gchar*    extention;
+     extention = strrchr(filename, '.');
+-    if (extention &&
+-      !strcasecmp(extention, ".mp4") ||       // official extention
++    if (extention && *extention) {
++      if(!strcasecmp(extention, ".mp4") ||    // official extention
+       !strcasecmp(extention, ".m4a") ||       // Apple mp4 extention
+       !strcasecmp(extention, ".aac")          // old MPEG2/4-AAC extention
+       ){
+       return (1);
+     }
+   }
++  }
+   return(0);
+ }
This page took 0.144016 seconds and 4 git commands to generate.