diff --git a/lib_com/options.h b/lib_com/options.h index c40a70e4011f3cb6134889a9a172ca19860855d2..4dfb7d8e4f2bc54f21a393f44163f12c3de42a49 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -117,6 +117,8 @@ /* ##################### End NON-BE switches ########################### */ #define FIX_740_HQ_CORE_OVA // Proposed fix to solve overlap and add issue for HQ_CORE +#define FIX_746 // proposed fix to solve low bit-rate frame boundaries issues + /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ diff --git a/lib_dec/ivas_cpe_dec_fx.c b/lib_dec/ivas_cpe_dec_fx.c index a8f9a12d03cd73c3517ce6dc7222bca64cd6d21f..918175abd095f5b7f4a9d1dcfa8bea2645405dae 100644 --- a/lib_dec/ivas_cpe_dec_fx.c +++ b/lib_dec/ivas_cpe_dec_fx.c @@ -326,10 +326,12 @@ ivas_error ivas_cpe_dec_fx( { floatToFixed_arrL(&hCPE->output_mem[n][0], &hCPE->output_mem_fx[n][0], q_temp, NS2SA_fx2(st_ivas->hDecoderConfig->output_Fs, STEREO_DFT32MS_OVL_NS));//any q works } +#ifndef FIX_746 if (hCPE->input_mem[n] != NULL) { floatToFixed_arrL(&hCPE->input_mem[n][0], &hCPE->input_mem_fx[n][0], q_temp, NS2SA(hCPE->hCoreCoder[0]->output_Fs, STEREO_DFT32MS_OVL_NS)); } +#endif if (hCPE->input_mem_LB[n] != NULL) { floatToFixed_arrL(&hCPE->input_mem_LB[n][0], &hCPE->input_mem_LB_fx[n][0], q_temp, STEREO_DFT32MS_OVL_16k);