ref: b5f271f8c73a2c4df3a5cebf4f90131ecb5e68fc
parent: 36ac51109224df99ad0e96609d37d126864f51ff
author: menno <menno>
date: Mon Jan 21 17:58:27 EST 2002
Bugfix for config reading
--- a/plugins/in_mp4/in_mp4.c
+++ b/plugins/in_mp4/in_mp4.c
@@ -16,7 +16,7 @@
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**
-** $Id: in_mp4.c,v 1.1 2002/01/20 16:59:26 menno Exp $
+** $Id: in_mp4.c,v 1.2 2002/01/21 22:58:27 menno Exp $
**/
#define WIN32_LEAN_AND_MEAN
@@ -69,7 +69,7 @@
} state;
static char INI_FILE[MAX_PATH];
-static int m_priority = 3;
+static int m_priority = 4;
static int m_resolution = 0;
static int m_show_errors = 1;
@@ -208,6 +208,10 @@
char show_errors[10];
config_init();
+
+ strcpy(show_errors, "1");
+ strcpy(priority, "4");
+ strcpy(resolution, "0");
RS(priority);
RS(resolution);
--- a/plugins/winamp/in_faad.c
+++ b/plugins/winamp/in_faad.c
@@ -16,7 +16,7 @@
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**
-** $Id: in_faad.c,v 1.1 2002/01/20 23:19:13 menno Exp $
+** $Id: in_faad.c,v 1.2 2002/01/21 22:58:14 menno Exp $
**/
#define WIN32_LEAN_AND_MEAN
@@ -126,6 +126,12 @@
char stream_buffer_size[10];
config_init();
+
+ strcpy(variable_bitrate_display, "1");
+ strcpy(priority, "4");
+ strcpy(memmap_file, "0");
+ strcpy(local_buffer_size, "128");
+ strcpy(stream_buffer_size, "64");
RS(variable_bitrate_display);
RS(priority);