fix a typo bug
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 16 Jan 2001 00:08:14 +0000 (00:08 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 16 Jan 2001 00:08:14 +0000 (00:08 +0000)
src/flac/decode.c

index 1473a5e..0b49309 100644 (file)
@@ -95,24 +95,24 @@ int decode_wav(const char *infile, const char *outfile, bool verbose, uint64 ski
                        goto wav_abort_;
                }
                if(!FLAC__file_decoder_process_remaining_frames(decoder)) {
-                       if(verbose) ( printf("\n"); fflush(stdout); }
+                       if(verbose) { printf("\n"); fflush(stdout); }
                        fprintf(stderr, "%s: ERROR during decoding\n", infile);
                        goto wav_abort_;
                }
                if(decoder->state != FLAC__FILE_DECODER_OK && decoder->state != FLAC__FILE_DECODER_END_OF_FILE) {
-                       if(verbose) ( printf("\n"); fflush(stdout); }
+                       if(verbose) { printf("\n"); fflush(stdout); }
                        fprintf(stderr, "%s: ERROR during decoding\n", infile);
                        goto wav_abort_;
                }
        }
        else {
                if(!FLAC__file_decoder_process_whole_file(decoder)) {
-                       if(verbose) ( printf("\n"); fflush(stdout); }
+                       if(verbose) { printf("\n"); fflush(stdout); }
                        fprintf(stderr, "%s: ERROR during decoding\n", infile);
                        goto wav_abort_;
                }
                if(decoder->state != FLAC__FILE_DECODER_OK && decoder->state != FLAC__FILE_DECODER_END_OF_FILE) {
-                       if(verbose) ( printf("\n"); fflush(stdout); }
+                       if(verbose) { printf("\n"); fflush(stdout); }
                        fprintf(stderr, "%s: ERROR during decoding, state=%d:%s\n", infile, decoder->state, FLAC__FileDecoderStateString[decoder->state]);
                        goto wav_abort_;
                }
@@ -192,24 +192,24 @@ int decode_raw(const char *infile, const char *outfile, bool verbose, uint64 ski
                        goto raw_abort_;
                }
                if(!FLAC__file_decoder_process_remaining_frames(decoder)) {
-                       if(verbose) ( printf("\n"); fflush(stdout); }
+                       if(verbose) { printf("\n"); fflush(stdout); }
                        fprintf(stderr, "%s: ERROR during decoding\n", infile);
                        goto raw_abort_;
                }
                if(decoder->state != FLAC__FILE_DECODER_OK && decoder->state != FLAC__FILE_DECODER_END_OF_FILE) {
-                       if(verbose) ( printf("\n"); fflush(stdout); }
+                       if(verbose) { printf("\n"); fflush(stdout); }
                        fprintf(stderr, "%s: ERROR during decoding\n", infile);
                        goto raw_abort_;
                }
        }
        else {
                if(!FLAC__file_decoder_process_whole_file(decoder)) {
-                       if(verbose) ( printf("\n"); fflush(stdout); }
+                       if(verbose) { printf("\n"); fflush(stdout); }
                        fprintf(stderr, "%s: ERROR during decoding\n", infile);
                        goto raw_abort_;
                }
                if(decoder->state != FLAC__FILE_DECODER_OK && decoder->state != FLAC__FILE_DECODER_END_OF_FILE) {
-                       if(verbose) ( printf("\n"); fflush(stdout); }
+                       if(verbose) { printf("\n"); fflush(stdout); }
                        fprintf(stderr, "%s: ERROR during decoding\n", infile);
                        goto raw_abort_;
                }