aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xmms/files
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-04-16 05:47:43 +0800
committerarved <arved@FreeBSD.org>2006-04-16 05:47:43 +0800
commit78c31ba1471cd792e673586a9fed5e5df18e175f (patch)
treecff444a430c88b2383cabd531fdf7ec69622f43b /multimedia/xmms/files
parent586bc9cb630d06ec3c02e423b1199903d9ce8e00 (diff)
downloadfreebsd-ports-gnome-78c31ba1471cd792e673586a9fed5e5df18e175f.tar.gz
freebsd-ports-gnome-78c31ba1471cd792e673586a9fed5e5df18e175f.tar.zst
freebsd-ports-gnome-78c31ba1471cd792e673586a9fed5e5df18e175f.zip
Prevent the mpg123 plugin from hijacking flac streams.
Thanks to Thomas-Martin Seck <tmseck@netcologne.de> PR: 93948 Submitted by: Espen Skoglund <esk@ira.uka.de>
Diffstat (limited to 'multimedia/xmms/files')
-rw-r--r--multimedia/xmms/files/patch-Input-mpg123-mpg123.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/xmms/files/patch-Input-mpg123-mpg123.c b/multimedia/xmms/files/patch-Input-mpg123-mpg123.c
new file mode 100644
index 000000000000..66bf8694bd66
--- /dev/null
+++ b/multimedia/xmms/files/patch-Input-mpg123-mpg123.c
@@ -0,0 +1,11 @@
+--- Input/mpg123/mpg123.c.orig Tue Feb 28 16:56:08 2006
++++ Input/mpg123/mpg123.c Tue Feb 28 16:57:40 2006
+@@ -397,6 +397,8 @@
+ if (!strncasecmp(ext, ".rm", 3) ||
+ !strncasecmp(ext, ".ra", 3) ||
+ !strncasecmp(ext, ".rpm", 4) ||
++ !strncasecmp(ext, ".fla", 4) ||
++ !strncasecmp(ext, ".flac", 5) ||
+ !strncasecmp(ext, ".ram", 4))
+ return FALSE;
+ }