if(bfi==FRAMEMODE_MISSING)/* TODO(mcjbm): This fixes channel-aware mode BE. Still requires review from a bitstream reading expert */
#else
if(bfi)
#endif
{
for(k=0;k<num_bits;k++)
{
@@ -2188,9 +2178,7 @@ ivas_error read_indices(
/* handle bad/lost speech frame(and CS bad SID frame) in the decoders CNG synthesis settings pair (total_brate, bfi) */
if((
#ifdef MC_JBM
bfi!=FRAMEMODE_FUTURE&&/* TODO(mcjbm): This fixes channel-aware mode BE. Still requires review from a bitstream reading expert */
#endif
(*CNG!=0)&&((speech_bad!=0)||(speech_lost!=0)))||/* SP_BAD or SPEECH_LOST) --> stay in CNG */
(sid_upd_bad!=0))/* SID_UPD_BAD --> start CNG */
{
@@ -2234,10 +2222,7 @@ ivas_error read_indices(
}
/* GOOD frame */
if(st_ivas->bfi==0
#ifdef MC_JBM
||st_ivas->bfi==FRAMEMODE_FUTURE/* TODO(mcjbm): This fixes channel-aware mode BE. Still requires review from a bitstream reading expert */
#endif
if(st_ivas->bfi==0||st_ivas->bfi==FRAMEMODE_FUTURE/* TODO(mcjbm): This fixes channel-aware mode BE. Still requires review from a bitstream reading expert */
)
{
/* GOOD frame - convert ITU-T G.192 words to short values */