Commit dff9d19b authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

add missing a instance of a chenged channel count

parent c5bffcbc
Loading
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -1539,7 +1539,16 @@ ivas_error ivas_init_decoder(

        if ( st_ivas->ism_mode == ISM_SBA_MODE_DISC )
        {
#ifdef NONBE_FIX_ISM_XOVER_BR
			{
				int16_t n_all;

				n_all = st_ivas->nchan_transport + st_ivas->nchan_ism;
				st_ivas->nCPE = (n_all + 1) >> 1;
			}
#else
			st_ivas->nCPE += (st_ivas->nchan_ism + 1) >> 1;
#endif
			st_ivas->element_mode_init = IVAS_CPE_MDCT;
        }