summaryrefslogtreecommitdiff
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 @@
44void cuesheet_init(void) 44void cuesheet_init(void)
45{ 45{
46 if (global_settings.cuesheet) { 46 if (global_settings.cuesheet) {
47 curr_cue = (struct cuesheet *)buffer_alloc(MAX_TRACKS * sizeof(struct cuesheet)); 47 curr_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet));
48 temp_cue = (struct cuesheet *)buffer_alloc(MAX_TRACKS * sizeof(struct cuesheet)); 48 temp_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet));
49 } else { 49 } else {
50 curr_cue = NULL; 50 curr_cue = NULL;
51 temp_cue = NULL; 51 temp_cue = NULL;