File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments