- gcc4 patch enabled.
[packages/faad2.git] / faad2-no-extension.patch
1 --- faad2.warn/plugins/xmms/src/libmp4.c        2003-12-03 19:37:56.000000000 +0100
2 +++ faad2/plugins/xmms/src/libmp4.c     2004-06-12 13:53:42.364218112 +0200
3 @@ -112,14 +112,15 @@
4      gchar*     extention;
5  
6      extention = strrchr(filename, '.');
7 -    if (extention &&
8 -       !strcasecmp(extention, ".mp4") ||       // official extention
9 +    if (extention && *extention) {
10 +       if(!strcasecmp(extention, ".mp4") ||    // official extention
11         !strcasecmp(extention, ".m4a") ||       // Apple mp4 extention
12         !strcasecmp(extention, ".aac")          // old MPEG2/4-AAC extention
13         ){
14        return (1);
15      }
16    }
17 +  }
18    return(0);
19  }
20  
This page took 0.062732 seconds and 3 git commands to generate.