summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/cuesheet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c
index 6db3528cad..a309b95873 100644
--- a/apps/cuesheet.c
+++ b/apps/cuesheet.c
@@ -44,8 +44,8 @@
void cuesheet_init(void)
{
if (global_settings.cuesheet) {
- curr_cue = (struct cuesheet *)buffer_alloc(MAX_TRACKS * sizeof(struct cuesheet));
- temp_cue = (struct cuesheet *)buffer_alloc(MAX_TRACKS * sizeof(struct cuesheet));
+ curr_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet));
+ temp_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet));
} else {
curr_cue = NULL;
temp_cue = NULL;