re-initializing structs in tools/aif2pcm/main.c

initializing all fields because clang doesn’t understand {0}
This commit is contained in:
garakmon 2018-06-16 19:20:10 -04:00
parent 9766108fbc
commit 9acd55ae4f

View File

@ -469,12 +469,12 @@ do { \
void aif2pcm(const char *aif_filename, const char *pcm_filename, bool compress)
{
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);
int header_size = 0x10;
struct Bytes *pcm;
struct Bytes output;
struct Bytes output = {0,0};
if (compress)
{