]> git.pld-linux.org Git - packages/faad2.git/blame - faad2-no-extension.patch
- build fix.
[packages/faad2.git] / faad2-no-extension.patch
CommitLineData
3fc4a5a0 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.101296 seconds and 4 git commands to generate.