aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer2016-03-05 17:39:48 +0100
committerMichael Niedermayer2016-03-05 18:05:47 +0100
commit76019f5fed066f350fd8c9e55ec2c47ddb47f2a8 (patch)
treeccae624c2016b46cd86bc694d6da10aad8fe5f96 /tests
parent2df0bbaca5ab0f66d3554ff751f89eba3a95d042 (diff)
fate: Add pal8 copy test for avi
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/avformat.mak1
-rwxr-xr-xtests/lavf-regression.sh4
-rw-r--r--tests/ref/lavf-fate/avi_cram3
3 files changed, 8 insertions, 0 deletions
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