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

fix offset in output buffer

parent d8aff255
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1201,7 +1201,6 @@ ivas_error ivas_jbm_dec_render(
					p_tc[0] = st_ivas->hTcBuffer->tc[0 + nchan_ism] + slot_idx_start * slot_size;
                    p_tc[1] = st_ivas->hTcBuffer->tc[1 + nchan_ism] + slot_idx_start * slot_size;


					for ( n = 0; n < BINAURAL_CHANNELS; n++ )
                    {
                        int16_t ts;
@@ -1210,7 +1209,7 @@ ivas_error ivas_jbm_dec_render(
							int16_t i;
							for ( i = 0; i < slot_size; i++ )
							{
								p_output[n][i + ts * slot_size] = p_tc[n][i + ts * slot_size];
								p_output[n][i + ts * slot_size + slot_idx_start*slot_size] = p_tc[n][i + ts * slot_size];
							}
						}
                    }