[PATCH] Add FATE test for rare overflow-prone case
Vitor Sessak
vitor1001
Sun Jan 23 18:58:34 CET 2011
---
tests/fate/h264.mak | 2 ++
tests/ref/fate/h264-might-overflow | 29 +++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 0 deletions(-)
create mode 100644 tests/ref/fate/h264-might-overflow
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 25517fe..5d6fa43 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -167,6 +167,7 @@ FATE_H264 = aud_mw_e \
FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
fate-h264-interlace-crop \
fate-h264-lossless \
+ fate-h264-might-overflow \
FATE_TESTS += $(FATE_H264)
fate-h264: $(FATE_H264)
@@ -339,3 +340,4 @@ fate-h264-conformance-sva_nl2_e: CMD = framecrc -i $(SAMPLES)/h264-conformance/
fate-h264-interlace-crop: CMD = framecrc -vframes 3 -i $(SAMPLES)/h264/interlaced_crop.mp4
fate-h264-lossless: CMD = framecrc -i $(SAMPLES)/h264/lossless.h264
+fate-h264-might-overflow: CMD = framecrc -i $(SAMPLES)/h264/H264_might_overflow.mkv
diff --git a/tests/ref/fate/h264-might-overflow b/tests/ref/fate/h264-might-overflow
new file mode 100644
index 0000000..f266426
--- /dev/null
+++ b/tests/ref/fate/h264-might-overflow
@@ -0,0 +1,29 @@
+0, 0, 3110400, 0xf21427bb
+0, 3754, 3110400, 0xf21427bb
+0, 7508, 3110400, 0xf21427bb
+0, 11261, 3110400, 0xf21427bb
+0, 15015, 3110400, 0xf21427bb
+0, 18769, 3110400, 0xf21427bb
+0, 22523, 3110400, 0xf21427bb
+0, 26276, 3110400, 0xf21427bb
+0, 30030, 3110400, 0xf21427bb
+0, 33784, 3110400, 0xf21427bb
+0, 37538, 3110400, 0xf21427bb
+0, 41291, 3110400, 0xf21427bb
+0, 45045, 3110400, 0xf21427bb
+0, 48799, 3110400, 0xf21427bb
+0, 52553, 3110400, 0xf21427bb
+0, 56306, 3110400, 0xf21427bb
+0, 60060, 3110400, 0xf21427bb
+0, 63814, 3110400, 0xf21427bb
+0, 67568, 3110400, 0xf21427bb
+0, 71321, 3110400, 0xf21427bb
+0, 75075, 3110400, 0xf21427bb
+0, 78829, 3110400, 0xf21427bb
+0, 82583, 3110400, 0xf21427bb
+0, 86336, 3110400, 0xf21427bb
+0, 90090, 3110400, 0x16db0d9d
+0, 93844, 3110400, 0xb13f4b0e
+0, 97598, 3110400, 0x9e09bbec
+0, 101351, 3110400, 0x9798fe7f
+0, 105105, 3110400, 0x9798fe7f
--
1.7.1
--------------090207080105030204050706--
More information about the ffmpeg-devel
mailing list