You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-04-24 04:44:54 +02:00
924cc51ffe
Add enc_dec_pcm roundtrip tests for the pcm_bluray codec covering mono, stereo, 5.1, 7.0, and 7.1 channel layouts in s16. The 5.1 and 7.0 tests use an explicit pan filter for channel layout conversion so the PAN_FILTER dependency is declared only where needed. An additional s32 test uses a FATE sample file with real >16-bit content (divertimenti_2ch_96kHz_s24.wav) and decodes to s32le to verify the full 32-bit round-trip. enc_dec_pcm is used instead of transcode because the MPEGTS muxer produces different binary output on 32-bit and 64-bit platforms, causing the intermediate file checksum to fail on 32-bit CI. Coverage for libavcodec/pcm-bluray.c: 0.00% -> 93.75% Coverage for libavcodec/pcm-blurayenc.c: 0.00% -> 91.71% Signed-off-by: marcos ashton <marcosashiglesias@gmail.com>