Commit 50eeb52c authored by vaclav's avatar vaclav
Browse files

reset unused SBA channels to 0 in SBA -> stereo decoding

parent 9a9fd8ce
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -934,5 +934,13 @@ void ivas_sba_dirac_stereo_dec(
        }
    }

#ifdef NONBE_UNIFIED_DECODING_PATHS_FIX
    /* reset the other channels to 0 (they are not used since here) */
    for ( int16_t ch = CPE_CHANNELS; ch < st_ivas->nchan_transport; ch++ )
    {
        set_zero( output[ch], output_frame );
    }
#endif

    return;
}