1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-28 15:19:38 +03:00
Files
ffmpeg/tests/ref/fate/libspeex-encode
Michael Niedermayer c0c7684d08 avcodec/libspeexenc: preserve the encoded packet size
ff_af_queue_remove() now returns a status code. Its return value
replaced the byte count from speex_bits_write(), so every successful
encode emitted an empty packet.

Store the encoded byte count in the packet before updating its timing.
Add generated-input FATE coverage for mono and stereo encoding, including
multiple frames per packet. Check decoded frame counts instead of exact
encoded bytes so the tests do not depend on libspeex's implementation.
Select the PCM decoder dependency for the target endianness because
lavfi exposes native-endian audio.

Fixes: c31a781412
Fixes: #23926
Assisted-by: Fairy
2026-10-06 22:33:36 +00:00

7 lines
83 B
Plaintext

[STREAM]
codec_name=speex
sample_rate=32000
channels=1
nb_read_frames=50
[/STREAM]