summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-28 07:30:10 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-28 07:30:10 -0400
commit621e363e70e69a92169494515c5637551ceba219 (patch)
tree502d17bf864b811ae281ae445c28e6f92876c4a6
parent41a6da604380962a3d7b352e20dcfc1b712ecc4e (diff)
downloadrockbox-621e363e70.tar.gz
rockbox-621e363e70.tar.bz2
rockbox-621e363e70.zip
libgme: Fix yellow in hosted MIPS builds
Change-Id: I6d25c014cc519ddc5d1619c25d48331f512c2f2f
-rw-r--r--lib/rbcodec/codecs/libgme/nsfe_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libgme/nsfe_info.c b/lib/rbcodec/codecs/libgme/nsfe_info.c
index 337b1e580a..e39bb984c2 100644
--- a/lib/rbcodec/codecs/libgme/nsfe_info.c
+++ b/lib/rbcodec/codecs/libgme/nsfe_info.c
@@ -152,6 +152,7 @@ blargg_err_t Info_load( struct Nsfe_Info* this, void* data, long size, struct Ns
{
// read size and tag
byte block_header [2] [4];
+ memset(block_header, 0, sizeof(block_header));
RETURN_ERR( in_read( block_header, sizeof block_header, data, &offset, size ) );
int chunk_size = get_le32( block_header [0] );