]> git.sesse.net Git - ffmpeg/commitdiff
FATE: add a test for the H.264 sample fixed by 7c4f6f6
authorAnton Khirnov <anton@khirnov.net>
Thu, 17 Aug 2017 10:25:56 +0000 (12:25 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 19 Oct 2017 14:38:51 +0000 (16:38 +0200)
tests/fate/h264.mak
tests/ref/fate/h264-ref-pic-mod-overflow [new file with mode: 0644]

index bdc390d4793f9e5066abc084ddb9443ce519d661..7676fb8e2776598c3cd9be79b5fca26aeb5091d8 100644 (file)
@@ -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 (file)
index 0000000..b84ef5a
--- /dev/null
@@ -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