From 76019f5fed066f350fd8c9e55ec2c47ddb47f2a8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 5 Mar 2016 17:39:48 +0100 Subject: [PATCH] fate: Add pal8 copy test for avi Signed-off-by: Michael Niedermayer --- tests/fate/avformat.mak | 1 + tests/lavf-regression.sh | 4 ++++ tests/ref/lavf-fate/avi_cram | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 tests/ref/lavf-fate/avi_cram diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak index 02c1345434..bcfe2e3318 100644 --- a/tests/fate/avformat.mak +++ b/tests/fate/avformat.mak @@ -70,6 +70,7 @@ FATE_LAVF_FATE-$(call ALLYES, MATROSKA_DEMUXER OGG_MUXER) += ogg_vp3 FATE_LAVF_FATE-$(call ALLYES, MOV_DEMUXER LATM_MUXER) += latm FATE_LAVF_FATE-$(call ALLYES, MP3_DEMUXER MP3_MUXER) += mp3 FATE_LAVF_FATE-$(call ALLYES, MOV_DEMUXER MOV_MUXER) += mov_qtrle_mace6 +FATE_LAVF_FATE-$(call ALLYES, AVI_DEMUXER AVI_MUXER) += avi_cram FATE_LAVF_FATE += $(FATE_LAVF_FATE-yes:%=fate-lavf-fate-%) $(FATE_LAVF_FATE): CMD = lavffatetest diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index a219488935..f390dd9035 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -170,6 +170,10 @@ DEC_OPTS="$DEC_OPTS -idct auto" do_lavf_fate mov "qtrle/Animation-16Greys.mov" fi +if [ -n "$do_avi_cram" ] ; then +DEC_OPTS="$DEC_OPTS -idct auto" +do_lavf_fate avi "cram/toon.avi" +fi if [ -n "$do_wtv" ] ; then do_lavf wtv "" "-acodec mp2 -threads 1" diff --git a/tests/ref/lavf-fate/avi_cram b/tests/ref/lavf-fate/avi_cram new file mode 100644 index 0000000000..7864ab92a7 --- /dev/null +++ b/tests/ref/lavf-fate/avi_cram @@ -0,0 +1,3 @@ +e202447ccd6660149c17070204d258a4 *./tests/data/lavf-fate/lavf.avi +928228 ./tests/data/lavf-fate/lavf.avi +./tests/data/lavf-fate/lavf.avi CRC=0xa4770de2