diff options
author | Pali Rohár <pali@kernel.org> | 2020-08-08 21:30:26 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-08-11 11:21:48 -0700 |
commit | b606dcb6f28b309fafcb74056a7473bd18ddb42f (patch) | |
tree | abac4513e51bb429284f370ec9143bd55bd2933e | |
parent | a59baf862ce3df1fd044a2f455dbaf1f9ff729c9 (diff) | |
download | sbc-b606dcb6f28b309fafcb74056a7473bd18ddb42f.tar.gz |
sbcenc: Remove duplicate check for num of channels
-rw-r--r-- | src/sbcenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sbcenc.c b/src/sbcenc.c index 2a4c240..6f8d794 100644 --- a/src/sbcenc.c +++ b/src/sbcenc.c @@ -142,7 +142,6 @@ static void encode(char *filename, int subbands, int bitpool, int joint, blocks == 12 ? SBC_BLK_12 : SBC_BLK_16; } else { if (BE_INT(au_hdr.sample_rate) != 16000 || - BE_INT(au_hdr.channels) != 1 || BE_INT(au_hdr.channels) != 1) { fprintf(stderr, "mSBC requires 16 bits, 16kHz, mono " "input\n"); |