Loading lib_dec/ivas_spar_decoder.c +3 −2 Original line number Diff line number Diff line Loading @@ -318,7 +318,7 @@ ivas_error ivas_spar_dec( next_bit_pos_orig = st0->next_bit_pos; #ifdef OSBA_DISC_OBJ_MCT if ( st_ivas->ivas_format == SBA_ISM_FORMAT ) if ( st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC ) { #ifndef ENABLE_ISM_MD_CODING last_bit_pos = (int16_t) ( ( hDecoderConfig->ivas_total_brate / FRAMES_PER_SEC ) - 1 ); Loading @@ -332,6 +332,7 @@ ivas_error ivas_spar_dec( else { *nb_bits_read = 0; last_bit_pos = 0; } #endif Loading @@ -346,7 +347,7 @@ ivas_error ivas_spar_dec( } #ifdef OSBA_DISC_OBJ_MCT if ( st_ivas->ivas_format == SBA_ISM_FORMAT ) if ( st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC ) { last_bit_pos = (int16_t) ( ( hDecoderConfig->ivas_total_brate / FRAMES_PER_SEC ) - 1 ) - nb_bits_read[1]; } Loading Loading
lib_dec/ivas_spar_decoder.c +3 −2 Original line number Diff line number Diff line Loading @@ -318,7 +318,7 @@ ivas_error ivas_spar_dec( next_bit_pos_orig = st0->next_bit_pos; #ifdef OSBA_DISC_OBJ_MCT if ( st_ivas->ivas_format == SBA_ISM_FORMAT ) if ( st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC ) { #ifndef ENABLE_ISM_MD_CODING last_bit_pos = (int16_t) ( ( hDecoderConfig->ivas_total_brate / FRAMES_PER_SEC ) - 1 ); Loading @@ -332,6 +332,7 @@ ivas_error ivas_spar_dec( else { *nb_bits_read = 0; last_bit_pos = 0; } #endif Loading @@ -346,7 +347,7 @@ ivas_error ivas_spar_dec( } #ifdef OSBA_DISC_OBJ_MCT if ( st_ivas->ivas_format == SBA_ISM_FORMAT ) if ( st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC ) { last_bit_pos = (int16_t) ( ( hDecoderConfig->ivas_total_brate / FRAMES_PER_SEC ) - 1 ) - nb_bits_read[1]; } Loading