fate: Add pal8 copy test for avi
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Mar 2016 16:39:48 +0000 (17:39 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Mar 2016 17:05:47 +0000 (18:05 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/fate/avformat.mak
tests/lavf-regression.sh
tests/ref/lavf-fate/avi_cram [new file with mode: 0644]

index 02c1345..bcfe2e3 100644 (file)
@@ -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
index a219488..f390dd9 100755 (executable)
@@ -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 (file)
index 0000000..7864ab9
--- /dev/null
@@ -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