summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Astafyev <dev@246060.ru>2019-11-30 09:54:46 +0300
committerErik de Castro Lopo <erikd@mega-nerd.com>2019-12-08 20:34:57 +1100
commit020042ccd77552d7b167c823e397f6aa90da251f (patch)
tree9cd11c618f76c852eab1860310a7225ea5de957a
parentec35d55561f4b81af330652acbdf9e1c3d40af5b (diff)
downloadflac-020042ccd77552d7b167c823e397f6aa90da251f.tar.gz
flac: Remove variable from expression because it's always equals to false
-rw-r--r--src/flac/encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flac/encode.c b/src/flac/encode.c
index a106519e..a7fbfdf5 100644
--- a/src/flac/encode.c
+++ b/src/flac/encode.c
@@ -223,7 +223,7 @@ static FLAC__bool get_sample_info_wave(EncoderSession *e, encode_options_t optio
flac__utils_printf(stderr, 1, "%s: ERROR: file has multiple 'ds64' chunks\n", e->inbasefilename);
return false;
}
- if(got_fmt_chunk || got_data_chunk) {
+ if(got_fmt_chunk) {
flac__utils_printf(stderr, 1, "%s: ERROR: 'ds64' chunk appears after 'fmt ' or 'data' chunk\n", e->inbasefilename);
return false;
}