Commit 4611d229 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix number of TCs in stereo case

parent 29e3d6bb
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -253,11 +253,10 @@ ivas_error ivas_spar_dec_open(
        )
        {
#ifdef JBM_FOR_OSBA
            if ( st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC )
            if ( ( st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC ) )
            {
                buffer_mode = TC_BUFFER_MODE_RENDERER;
                nchan_tc = st_ivas->hDecoderConfig->nchan_out + st_ivas->nchan_ism;
                nchan_to_allocate = nchan_tc;
                nchan_to_allocate = nchan_tc + st_ivas->nchan_ism;
            }
            else
#endif