[FFmpeg-cvslog] FATE: update xxan-wc4 test to a sample with more code coverage.

Mike Melanson git at videolan.org
Sun Jan 8 04:21:42 CET 2012


ffmpeg | branch: master | Mike Melanson <mike at multimedia.cx> | Sat Jan  7 09:29:33 2012 -0800| [f93843e9a05b4af618434cc271ecd9592c1354ae] | committer: Ronald S. Bultje

FATE: update xxan-wc4 test to a sample with more code coverage.

The previous sample used for this test only contained type 0 frames.
Replace it with a sample that also features type 1 frames.
Code coverage:
libavcodec/xxan.c: 72% -> 89%

Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f93843e9a05b4af618434cc271ecd9592c1354ae
---

 tests/fate/video.mak    |    2 +-
 tests/ref/fate/xxan-wc4 |   31 +++++++++++++++++++++----------
 2 files changed, 22 insertions(+), 11 deletions(-)

diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index bae51d6..01dd306 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -186,4 +186,4 @@ FATE_TESTS += fate-yop
 fate-yop: CMD = framecrc -i $(SAMPLES)/yop/test1.yop -pix_fmt rgb24 -an
 
 FATE_TESTS += fate-xxan-wc4
-fate-xxan-wc4: CMD = framecrc -i $(SAMPLES)/wc4-xan/wc4_2.avi -an -vframes 10
+fate-xxan-wc4: CMD = framecrc -i $(SAMPLES)/wc4-xan/wc4trailer-partial.avi -an
diff --git a/tests/ref/fate/xxan-wc4 b/tests/ref/fate/xxan-wc4
index d31fbb6..7fede0a 100644
--- a/tests/ref/fate/xxan-wc4
+++ b/tests/ref/fate/xxan-wc4
@@ -1,10 +1,21 @@
-0, 0, 79360, 0x877eb3ed
-0, 6000, 79360, 0x9ff8707c
-0, 12000, 79360, 0x144dec86
-0, 18000, 79360, 0x56d59588
-0, 24000, 79360, 0x2d20f8ce
-0, 30000, 79360, 0x1a752c42
-0, 36000, 79360, 0x85705730
-0, 42000, 79360, 0xddea3741
-0, 48000, 79360, 0x46448efd
-0, 54000, 79360, 0x27186e2b
+0, 0, 79360, 0x3b0a7d1b
+0, 6000, 79360, 0x740842c3
+0, 12000, 79360, 0x85160167
+0, 18000, 79360, 0xaf510e92
+0, 24000, 79360, 0x8e290bec
+0, 30000, 79360, 0x51e981b0
+0, 36000, 79360, 0x16e52c60
+0, 42000, 79360, 0x66e1e60a
+0, 48000, 79360, 0x40fa58f6
+0, 54000, 79360, 0x00388edd
+0, 60000, 79360, 0xc74f95bf
+0, 66000, 79360, 0xf446a3fd
+0, 72000, 79360, 0x27b5eb60
+0, 78000, 79360, 0xea9266a2
+0, 84000, 79360, 0x7b6a7907
+0, 90000, 79360, 0x2be7d946
+0, 96000, 79360, 0x61881ee4
+0, 102000, 79360, 0x9214bd4f
+0, 108000, 79360, 0xeb294afe
+0, 114000, 79360, 0xc861ad55
+0, 120000, 79360, 0x3d3b6220



More information about the ffmpeg-cvslog mailing list