]> git.pld-linux.org Git - packages/faad2.git/blob - faad2-no-extension.patch
- updated to 2.5
[packages/faad2.git] / faad2-no-extension.patch
1 --- faad2/plugins/xmms/src/libmp4.c.orig        2006-08-07 20:47:45.000000000 +0200
2 +++ faad2/plugins/xmms/src/libmp4.c     2006-08-23 23:50:29.267477000 +0200
3 @@ -127,7 +127,7 @@
4      gchar*     extention;\r
5  \r
6      extention = strrchr(filename, '.');\r
7 -    if(extention &&\r
8 +    if(extention && *extention &&\r
9         (!strncasecmp(extention, ".mp4", 4) ||  // official extention\r
10         !strncasecmp(extention, ".m4a", 4) ||   // Apple mp4 extention\r
11         !strncasecmp(extention, ".aac", 4)      // old MPEG2/4-AAC extention\r
This page took 0.064155 seconds and 3 git commands to generate.