freebsd-ports/multimedia/xmms/files/patch-Input-mpg123-mpg123.c
Tilman Keskinoz 5a2e359d3d 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>
2006-04-15 21:47:43 +00:00

11 lines
391 B
C

--- 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;
}