Decoding of an FER bitstream is one frame shorter than expected
Basic info
- Decoder (fixed): 20250826_branch_release_characterization_testing_ivas-float-update OR 20250826_branch_release_characterization_testing_main
Bug description
The decoder output for both float reference and fixed main are 20ms shorter than expected.
The ivas-codec float main does not exhibit this behaviour, so this is likely related to a porting update which is needed.
Ways to reproduce
Follow the steps below:
./IVAS_cod -sba 1 24400 48 scripts/testv/stvFOA48c.wav bit
# use the provided error pattern
eid-xor -fer -vbr bit 20ms_aligned_files_concatenated.ivas_dly_error_profile_I1.O1_to_err.192 bit_err
# OR just make a dummy one with first bad frame
echo "10000" > ep.192
./IVAS_dec BINAURAL 48 bit tmp.wav
./IVAS_dec BINAURAL 48 bit_err tmp_err.wav
wav-diff tmp.wav tmp_err.wav
# Error: ref wav is 20ms (960 samples) longer than cut wav