aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-08-17 12:25:56 +0200
committerAnton Khirnov <anton@khirnov.net>2017-10-19 16:38:51 +0200
commitec0f4fa17ce29cf01d4def21041b0b87f7e3105d (patch)
treee68fa5b5f49e50af058cd370ec35e664c3591ae6
parent98afe3fb71afd4a18009924aaba56bc577bbd400 (diff)
downloadffmpeg-ec0f4fa17ce29cf01d4def21041b0b87f7e3105d.tar.gz
FATE: add a test for the H.264 sample fixed by 7c4f6f6
-rw-r--r--tests/fate/h264.mak2
-rw-r--r--tests/ref/fate/h264-ref-pic-mod-overflow21
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index bdc390d479..7676fb8e27 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -183,6 +183,7 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
fate-h264-intra-refresh-recovery \
fate-h264-lossless \
fate-h264-missing-frame \
+ fate-h264-ref-pic-mod-overflow \
FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264)
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container
@@ -396,6 +397,7 @@ fate-h264-intra-refresh-recovery: CMD = framecrc -i $(TARGET_SAM
fate-h264-invalid-ref-mod: CMD = framecrc -i $(TARGET_SAMPLES)/h264/h264refframeregression.mp4 -an -frames 10 -pix_fmt yuv420p10le
fate-h264-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264
fate-h264-mixed-nal-coding: CMD = framecrc -i $(TARGET_SAMPLES)/h264/mixed-nal-coding.mp4
+fate-h264-ref-pic-mod-overflow: CMD = framecrc -i $(TARGET_SAMPLES)/h264/ref-pic-mod-overflow.h264
fate-h264-twofields-packet: CMD = framecrc -i $(TARGET_SAMPLES)/h264/twofields_packet.mp4 -an -frames 30
fate-h264-unescaped-extradata: CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10
fate-h264-missing-frame: CMD = framecrc -i $(TARGET_SAMPLES)/h264/nondeterministic_cut.h264
diff --git a/tests/ref/fate/h264-ref-pic-mod-overflow b/tests/ref/fate/h264-ref-pic-mod-overflow
new file mode 100644
index 0000000000..b84ef5a900
--- /dev/null
+++ b/tests/ref/fate/h264-ref-pic-mod-overflow
@@ -0,0 +1,21 @@
+#tb 0: 1/25
+0, 0, 0, 1, 3110400, 0x5cd0bee9
+0, 1, 1, 1, 3110400, 0x19d0155c
+0, 2, 2, 1, 3110400, 0x3519be4b
+0, 3, 3, 1, 3110400, 0x87dc6708
+0, 4, 4, 1, 3110400, 0xef3c1056
+0, 5, 5, 1, 3110400, 0x5064aad2
+0, 6, 6, 1, 3110400, 0xbfb35057
+0, 7, 7, 1, 3110400, 0x6089eb95
+0, 8, 8, 1, 3110400, 0x85de8dea
+0, 9, 9, 1, 3110400, 0x216b1e5a
+0, 10, 10, 1, 3110400, 0xba73bdc4
+0, 11, 11, 1, 3110400, 0x536e437a
+0, 12, 12, 1, 3110400, 0x4be0cdbd
+0, 13, 13, 1, 3110400, 0x7316462d
+0, 14, 14, 1, 3110400, 0x80eb8622
+0, 15, 15, 1, 3110400, 0xa612a70b
+0, 16, 16, 1, 3110400, 0x9ff65345
+0, 17, 17, 1, 3110400, 0x57003dfa
+0, 18, 18, 1, 3110400, 0xf29e036e
+0, 19, 19, 1, 3110400, 0x70285363