diff options
author | Mike Melanson <mike@multimedia.cx> | 2012-01-07 21:29:33 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-01-07 23:06:53 +0400 |
commit | f93843e9a05b4af618434cc271ecd9592c1354ae (patch) | |
tree | 84c338614ce044cdd532e3e16c3031f2ad402567 /tests | |
parent | c262404d9886f1d2a85f57dbb6eaac4579a8147a (diff) |
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@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/video.mak | 2 | ||||
-rw-r--r-- | 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 bae51d6d62..01dd306d1a 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 d31fbb697c..7fede0afc6 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 |