From 68764f35899e133b402336843c046d75136eaf08 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 4 Apr 2025 21:24:11 +0300
Subject: [PATCH] Revert "mp3utils: `zero8` was only 2 bytes, but 8 are
dereferenced, true to the name."
This reverts commit 204751967a93ac896131d1f5e187c248218962a4.
---
src/codecs/mp3utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/codecs/mp3utils.c b/src/codecs/mp3utils.c
index 9b4a49d45..fbb24ca9f 100644
--- a/src/codecs/mp3utils.c
+++ b/src/codecs/mp3utils.c
@@ -665,7 +665,7 @@ static bool parse_ape(Mix_MusicMetaTags *out_tags, struct mp3file_t *src, Sint64
{
Uint8 buffer[APE_BUFFER_SIZE + 1];
Uint32 v, i, tag_size, tag_items_count, tag_item_size;
- Uint32 zero8[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
+ Uint32 zero8[2] = {0, 0};
Sint64 file_size, cur_tag;
size_t read_size;