diff options
Diffstat (limited to 'tools/aif2pcm')
-rw-r--r-- | tools/aif2pcm/Makefile | 7 | ||||
-rw-r--r-- | tools/aif2pcm/main.c | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/tools/aif2pcm/Makefile b/tools/aif2pcm/Makefile index 790ed71..e5cb6ad 100644 --- a/tools/aif2pcm/Makefile +++ b/tools/aif2pcm/Makefile @@ -1,15 +1,12 @@ CC = gcc -CFLAGS = -Wall -Wextra -Wno-switch -Werror -std=c11 -O2 -s +CFLAGS = -Wall -Wextra -Wno-switch -Werror -std=c11 -O2 LIBS = -lm SRCS = main.c extended.c -.PHONY: all clean - -all: aif2pcm - @: +.PHONY: clean aif2pcm: $(SRCS) $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS) diff --git a/tools/aif2pcm/main.c b/tools/aif2pcm/main.c index fbb024a..51dbf1b 100644 --- a/tools/aif2pcm/main.c +++ b/tools/aif2pcm/main.c @@ -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 = {0}; + 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 = {0}; + struct Bytes output = {0,0}; if (compress) { |