This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit f9ed016d429597810bd3173e131531179e711f1f Author: iSold Leo <[email protected]> AuthorDate: Tue Aug 4 19:50:11 2026 +0800 Commit: michaelni <[email protected]> CommitDate: Wed Aug 5 19:37:11 2026 +0000 fate/filter-audio: add test for pan named input channel id rejection "pan=stereo|FL=UNK" resolves to AVChannel id 768, which was used as an index into a 64 element array before the previous commit. UNK is used because it was the only one of the three reachable high ids that exited with 0 before the fix; AMBI (1024) aborted and UNSD (512) failed with an unrelated message, so a test that only checked for a non-zero exit status would have passed before the fix as well. For the same reason the test greps the error message on stderr instead of only looking at the exit status: a crash also exits non-zero. Signed-off-by: iSold Leo <[email protected]> --- tests/fate/filter-audio.mak | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak index 7817548037..6593750805 100644 --- a/tests/fate/filter-audio.mak +++ b/tests/fate/filter-audio.mak @@ -191,6 +191,11 @@ fate-filter-pan-downmix2: tests/data/asynth-44100-11.wav fate-filter-pan-downmix2: SRC = $(TARGET_PATH)/tests/data/asynth-44100-11.wav fate-filter-pan-downmix2: CMD = framecrc -ss 3.14 -i $(SRC) -frames:a 20 -filter:a "pan=5C|c0=0.7*c0+0.7*c10|c1=c9|c2=c8|c3=c7|c4=c6" +FATE_AFILTER-$(call ALLYES, LAVFI_INDEV ANULLSRC_FILTER PAN_FILTER PCM_S16LE_ENCODER NULL_MUXER) += fate-filter-pan-channel-id-limit +fate-filter-pan-channel-id-limit: CMD = run $(FFMPEG) -nostdin -hide_banner -f lavfi -i "anullsrc=cl=stereo:r=44100:d=0.1" -af "pan=stereo|FL=UNK" -f null - ; true +fate-filter-pan-channel-id-limit: CMP = grep +fate-filter-pan-channel-id-limit: REF = Input channel id 768 + FATE_AFILTER-$(call ALLYES, LAVFI_INDEV AEVALSRC_FILTER SILENCEREMOVE_FILTER ARESAMPLE_FILTER) += fate-filter-silenceremove fate-filter-silenceremove: CMD = framecrc -auto_conversion_filters -f lavfi -i "aevalsrc=between(t\,1\,2)+between(t\,4\,5)+between(t\,7\,9):d=10:n=8192,silenceremove=start_periods=0:start_duration=0:start_threshold=0:stop_periods=-1:stop_duration=0:stop_threshold=-90dB:window=0:detection=avg" _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
