minor formatting
diff --git a/src/libFLAC/bitbuffer.c b/src/libFLAC/bitbuffer.c
index c0e0078..5220c6d 100644
--- a/src/libFLAC/bitbuffer.c
+++ b/src/libFLAC/bitbuffer.c
@@ -2081,7 +2081,7 @@
CRC16_UPDATE_BLURB(bb, save_blurb, bb->read_crc16);
break;
}
- }
+ }
else {
msbs += FLAC__BITS_PER_BLURB - cbits;
cbits = 0;
@@ -2171,7 +2171,7 @@
CRC16_UPDATE_BLURB(bb, save_blurb, bb->read_crc16);
break;
}
- }
+ }
else {
msbs += FLAC__BITS_PER_BLURB - cbits;
cbits = 0;
diff --git a/src/libFLAC/format.c b/src/libFLAC/format.c
index cf933cf..4e35c43 100644
--- a/src/libFLAC/format.c
+++ b/src/libFLAC/format.c
@@ -126,7 +126,7 @@
sample_rate == 0 ||
sample_rate > FLAC__MAX_SAMPLE_RATE ||
(
- sample_rate >= (1u << 16) &&
+ sample_rate >= (1u << 16) &&
!(sample_rate % 1000 == 0 || sample_rate % 10 == 0)
)
) {
diff --git a/src/libFLAC/lpc.c b/src/libFLAC/lpc.c
index b993599..88c9a6c 100644
--- a/src/libFLAC/lpc.c
+++ b/src/libFLAC/lpc.c
@@ -147,7 +147,7 @@
else {
int log2cmax;
- (void)frexp(cmax, &log2cmax);
+ (void)frexp(cmax, &log2cmax);
log2cmax--;
*shift = (int)precision - log2cmax - 1;
diff --git a/src/libFLAC/metadata_iterators.c b/src/libFLAC/metadata_iterators.c
index 636db10..70d78b3 100644
--- a/src/libFLAC/metadata_iterators.c
+++ b/src/libFLAC/metadata_iterators.c
@@ -1619,7 +1619,7 @@
return FLAC__METADATA_SIMPLE_ITERATOR_STATUS_WRITE_ERROR;
n %= 1024;
-
+
if(fwrite(buffer, 1, n, file) != n)
return FLAC__METADATA_SIMPLE_ITERATOR_STATUS_WRITE_ERROR;
diff --git a/src/libFLAC/seekable_stream_encoder.c b/src/libFLAC/seekable_stream_encoder.c
index d36b6a3..320ad8d 100644
--- a/src/libFLAC/seekable_stream_encoder.c
+++ b/src/libFLAC/seekable_stream_encoder.c
@@ -186,7 +186,7 @@
* Initializing the stream encoder writes all the metadata, so we
* save the stream offset now.
*/
- encoder->private_->stream_offset = encoder->private_->bytes_written;
+ encoder->private_->stream_offset = encoder->private_->bytes_written;
return encoder->protected_->state = FLAC__SEEKABLE_STREAM_ENCODER_OK;
}
@@ -407,7 +407,7 @@
if(0 != metadata && num_blocks > 0) {
unsigned i;
for(i = 0; i < num_blocks; i++) {
- if(0 != metadata[i] && metadata[i]->type == FLAC__METADATA_TYPE_SEEKTABLE) {
+ if(0 != metadata[i] && metadata[i]->type == FLAC__METADATA_TYPE_SEEKTABLE) {
encoder->private_->seek_table = &metadata[i]->data.seek_table;
break; /* take only the first one */
}