diff src/flac112/plugin.c @ 490:be4cde738a73 trunk

[svn] flac 112 plugin: disabled built-in http stream support
author giacomo
date Sun, 21 Jan 2007 15:33:20 -0800
parents ce4efa148521
children 0dd1ff7e5ba7
line wrap: on
line diff
--- a/src/flac112/plugin.c	Sun Jan 21 15:15:38 2007 -0800
+++ b/src/flac112/plugin.c	Sun Jan 21 15:33:20 2007 -0800
@@ -852,7 +852,11 @@
 
 static decoder_t source_to_decoder_type (const char *source)
 {
-	return strncasecmp(source, "http://", 7) ? DECODER_FILE : DECODER_HTTP;
+	/* NOTE: in Audacious, always use DECODER_FILE to pick files via VFS;
+                 http flac stream support is not used */
+	return DECODER_FILE;
+
+/*	return strncasecmp(source, "http://", 7) ? DECODER_FILE : DECODER_HTTP; */
 }
 
 static void change_decoder_if_needed (decoder_t new_decoder_type, void **decoderp, decoder_funcs_t const ** fntabp)