Loading lib_dec/ivas_init_dec.c +2 −9 Original line number Diff line number Diff line Loading @@ -419,16 +419,9 @@ ivas_error ivas_dec_setup( #endif #ifdef SBA_AND_OBJECTS else if ( st_ivas->ivas_format == SBA_ISM_FORMAT ) { if ( ivas_total_brate >= IVAS_256k ) { /* the number of objects is written at the end of the bitstream, in the SBA metadata */ st_ivas->nchan_ism = 2 * st_ivas->bit_stream[ivas_total_brate / FRAMES_PER_SEC - 1] + st_ivas->bit_stream[ivas_total_brate / FRAMES_PER_SEC - 2] + 1; } else { st_ivas->nchan_ism = 0; } if ( ivas_total_brate < IVAS_24k4 || ivas_total_brate >= IVAS_256k ) { Loading Loading
lib_dec/ivas_init_dec.c +2 −9 Original line number Diff line number Diff line Loading @@ -419,16 +419,9 @@ ivas_error ivas_dec_setup( #endif #ifdef SBA_AND_OBJECTS else if ( st_ivas->ivas_format == SBA_ISM_FORMAT ) { if ( ivas_total_brate >= IVAS_256k ) { /* the number of objects is written at the end of the bitstream, in the SBA metadata */ st_ivas->nchan_ism = 2 * st_ivas->bit_stream[ivas_total_brate / FRAMES_PER_SEC - 1] + st_ivas->bit_stream[ivas_total_brate / FRAMES_PER_SEC - 2] + 1; } else { st_ivas->nchan_ism = 0; } if ( ivas_total_brate < IVAS_24k4 || ivas_total_brate >= IVAS_256k ) { Loading