openbsd-ports/audio/xmms-flac/patches/patch-src_plugin_xmms_plugin_c
naddy eb69de1228 Update to 1.1.2:
* better Ogg FLAC support
* speedups
* several new options to flac and metaflac
* several API additions
* streaming support in the XMMS plugin
* bugfixes
2005-03-09 00:15:13 +00:00

17 lines
760 B
Plaintext

$OpenBSD: patch-src_plugin_xmms_plugin_c,v 1.1 2005/03/09 00:15:14 naddy Exp $
--- src/plugin_xmms/plugin.c.orig Tue Mar 8 23:18:19 2005
+++ src/plugin_xmms/plugin.c Tue Mar 8 23:19:31 2005
@@ -259,6 +259,12 @@ void FLAC_XMMS__init()
/* stream */
+ /* allow indiscriminate use of g_free() */
+ flac_cfg.stream.proxy_host = g_strdup("");
+ flac_cfg.stream.proxy_user = g_strdup("");
+ flac_cfg.stream.proxy_pass = g_strdup("");
+ flac_cfg.stream.save_http_path = g_strdup("");
+
xmms_cfg_read_int(cfg, "flac", "stream.http_buffer_size", &flac_cfg.stream.http_buffer_size);
xmms_cfg_read_int(cfg, "flac", "stream.http_prebuffer", &flac_cfg.stream.http_prebuffer);
xmms_cfg_read_boolean(cfg, "flac", "stream.use_proxy", &flac_cfg.stream.use_proxy);