diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-06-16 20:35:33 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-06-16 20:35:33 +0200 |
commit | 7dcb0fa50128ab924cb4fce1b2898eb1a9ab8ee8 (patch) | |
tree | 4c8df7d35038a6d4e7e1a6c6c10253c59545054f /src/dabplus-enc.cpp | |
parent | 8af4aca43ad1939c578f24e998d2d2ff58e7cc2c (diff) | |
download | fdk-aac-dabplus-7dcb0fa50128ab924cb4fce1b2898eb1a9ab8ee8.tar.gz fdk-aac-dabplus-7dcb0fa50128ab924cb4fce1b2898eb1a9ab8ee8.tar.bz2 fdk-aac-dabplus-7dcb0fa50128ab924cb4fce1b2898eb1a9ab8ee8.zip |
Indentation and code formatting
Diffstat (limited to 'src/dabplus-enc.cpp')
-rw-r--r-- | src/dabplus-enc.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp index 9cb9333..2822f94 100644 --- a/src/dabplus-enc.cpp +++ b/src/dabplus-enc.cpp @@ -598,13 +598,15 @@ int main(int argc, char *argv[]) } else if (read != input_size) { if (inFifoSilence && file_in.eof()) { - memset(input_buf, 0, input_size); - read = input_size; - usleep((long int)input_size*1000000/(bytes_per_sample*channels*sample_rate)); - } else { - fprintf(stderr, "Short file read !\n"); - break; - } + memset(input_buf, 0, input_size); + read = input_size; + usleep((long)input_size * 1000000 / + (bytes_per_sample * channels * sample_rate)); + } + else { + fprintf(stderr, "Short file read !\n"); + break; + } } } else if (drift_compensation) { |