OSDN Git Service

Discard partial packet of last frame for fate-wmv8-drm to avoid test fails
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 18 Dec 2010 23:11:31 +0000 (23:11 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 18 Dec 2010 23:11:31 +0000 (23:11 +0000)
due to VC-1 decoder overreads resulting in different output.

Originally committed as revision 26055 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/fate2.mak
tests/ref/fate/wmv8-drm

index ff59e13..6f5f478 100644 (file)
@@ -168,7 +168,8 @@ FATE_TESTS += fate-ansi
 fate-ansi: CMD = framecrc -i $(SAMPLES)/ansi/TRE-IOM5.ANS -pix_fmt rgb24
 
 FATE_TESTS += fate-wmv8-drm
-fate-wmv8-drm: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(SAMPLES)/wmv8/wmv_drm.wmv -an
+# discard last packet to avoid fails due to overread of VC-1 decoder
+fate-wmv8-drm: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(SAMPLES)/wmv8/wmv_drm.wmv -an -vframes 162
 
 FATE_TESTS += fate-wmv8-drm-nodec
 fate-wmv8-drm-nodec: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(SAMPLES)/wmv8/wmv_drm.wmv -acodec copy -vcodec copy
index 7b02625..4dc0f0e 100644 (file)
 0, 596250, 84480, 0xbce22331
 0, 600000, 84480, 0x020545d7
 0, 603750, 84480, 0x71869e48
-0, 607500, 84480, 0x5befc578