diff src/xmms-sid.h @ 777:15f0c8e11338

Increase line buffer size in songlength database reader. Fixes problems with extremely long entries.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 06 Nov 2012 12:11:32 +0200
parents 64e7e427a436
children 37ab2fba30c8
line wrap: on
line diff
--- a/src/xmms-sid.h	Tue Nov 06 11:59:24 2012 +0200
+++ b/src/xmms-sid.h	Tue Nov 06 12:11:32 2012 +0200
@@ -54,7 +54,9 @@
 #undef HAVE_HARDSID_BUILDER
 
 /* Size for some small buffers (always static variables) */
-#define XS_BUF_SIZE            (1024)
+#define XS_BUF_SIZE            (512)
+
+#define XS_BUF2_SIZE           (4096)
 
 /* If defined, some dynamically allocated temp. buffers are used.
  * Static (#undef) might give slight performance gain,