Skip to content

Commit 6b8f018

Browse files
author
Akash Choudhari
committed
Fix remaining style and indentation issues from review
1 parent b0d4916 commit 6b8f018

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/oac_demo.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -783,16 +783,16 @@ int main(int argc, char *argv[]) {
783783
goto failure;
784784
}
785785

786-
if (strncmp(header, "RIFF", 4) != 0 ||
787-
strncmp(header + 8, "WAVE", 4) != 0 ||
788-
strncmp(header + 12, "fmt ", 4) != 0 ||
789-
strncmp(header + 36, "data", 4) != 0) {
790-
fprintf(stderr,
791-
"Input file %s is not a valid PCM WAV file or has unexpected "
792-
"chunk order\n",
793-
inFile);
794-
goto failure;
795-
}
786+
if (strncmp(header, "RIFF", 4) != 0 ||
787+
strncmp(header + 8, "WAVE", 4) != 0 ||
788+
strncmp(header + 12, "fmt ", 4) != 0 ||
789+
strncmp(header + 36, "data", 4) != 0) {
790+
fprintf(stderr,
791+
"Input file %s is not a valid PCM WAV file or has unexpected "
792+
"chunk order\n",
793+
inFile);
794+
goto failure;
795+
}
796796

797797
memcpy(chunk_size_bytes, header + 4, 4);
798798
riff_chunk_size = char_to_int(chunk_size_bytes);

0 commit comments

Comments
 (0)