sbcenc: Remove duplicate check for num of channels
PATCH 1/1 sbcenc: Remove duplicate check for num of channels
Signed-off-by Pali Rohár <[email protected]>
--- src/sbcenc.c | 1 - 1 file changed, 1 deletion(-)
src/sbcenc.c +0 -1
@@ -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" );
Signature · 1 line
2.20.1
Hi Pali,
Quoted 19 lines · Pali Rohár
Signed-off-by Pali Rohár <[email protected]>--- src/sbcenc.c | 1 - 1 file changed, 1 deletion(-)src/sbcenc.c +0
-2@@ -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" ); --
Quoted 1 line
2.20.1
Applied, thanks.
Signature · 1 line
Luiz Augusto von Dentz