mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
re-initializing structs in tools/aif2pcm/main.c
initializing all fields because clang doesn’t understand {0}
This commit is contained in:
parent
9766108fbc
commit
9acd55ae4f
@ -469,12 +469,12 @@ do { \
|
|||||||
void aif2pcm(const char *aif_filename, const char *pcm_filename, bool compress)
|
void aif2pcm(const char *aif_filename, const char *pcm_filename, bool compress)
|
||||||
{
|
{
|
||||||
struct Bytes *aif = read_bytearray(aif_filename);
|
struct Bytes *aif = read_bytearray(aif_filename);
|
||||||
AifData aif_data;
|
AifData aif_data = {0,0,0,0,0,0,0};
|
||||||
read_aif(aif, &aif_data);
|
read_aif(aif, &aif_data);
|
||||||
|
|
||||||
int header_size = 0x10;
|
int header_size = 0x10;
|
||||||
struct Bytes *pcm;
|
struct Bytes *pcm;
|
||||||
struct Bytes output;
|
struct Bytes output = {0,0};
|
||||||
|
|
||||||
if (compress)
|
if (compress)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user