[FFmpeg-devel] [PATCH] tests/fate: Add test for ticket 3386 ([H264] [Regression] illegal short term buffer state detected)

Michael Niedermayer michael at niedermayer.cc
Fri Jul 1 19:23:27 CEST 2016


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 tests/fate/h264.mak      |    2 ++
 tests/ref/fate/h264-3386 |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 tests/ref/fate/h264-3386

diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 9b388bb..472895f 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -192,6 +192,7 @@ FATE_H264  := $(FATE_H264:%=fate-h264-conformance-%)                    \
               $(FATE_H264_REINIT_TESTS:%=fate-h264-reinit-%)            \
               fate-h264-extreme-plane-pred                              \
               fate-h264-lossless                                        \
+              fate-h264-3386                                            \
 
 FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264)
 FATE_H264-$(call DEMDEC,  MOV, H264) += fate-h264-crop-to-container
@@ -417,6 +418,7 @@ fate-h264-skip-nokey:                             CMD = framecrc -skip_frame nok
 fate-h264-skip-nointra:                           CMD = framecrc -skip_frame nointra -i $(TARGET_SAMPLES)/h264/h264_intra_first-small.ts
 fate-h264-invalid-ref-mod:                        CMD = framecrc -i $(TARGET_SAMPLES)/h264/h264refframeregression.mp4 -an -frames 10 -pix_fmt yuv420p10le
 fate-h264-unescaped-extradata:                    CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10
+fate-h264-3386:                                   CMD = framecrc -i $(TARGET_SAMPLES)/h264/bbc2.sample.h264
 
 fate-h264-reinit-%:                               CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288
 
diff --git a/tests/ref/fate/h264-3386 b/tests/ref/fate/h264-3386
new file mode 100644
index 0000000..421581f
--- /dev/null
+++ b/tests/ref/fate/h264-3386
@@ -0,0 +1,52 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1440x1080
+#sar 0: 4/3
+0,          3,          3,        1,  2332800, 0xa9dcb2ac
+0,          4,          4,        1,  2332800, 0x9b17af27
+0,          5,          5,        1,  2332800, 0x02da3196
+0,          6,          6,        1,  2332800, 0x9c78ed62
+0,          7,          7,        1,  2332800, 0xa6e926a0
+0,          8,          8,        1,  2332800, 0x324e51d2
+0,          9,          9,        1,  2332800, 0xd8289620
+0,         10,         10,        1,  2332800, 0xfc3619f9
+0,         11,         11,        1,  2332800, 0x6b8d2560
+0,         12,         12,        1,  2332800, 0x5714dca0
+0,         13,         13,        1,  2332800, 0x246e2842
+0,         14,         14,        1,  2332800, 0x59bc0b2e
+0,         15,         15,        1,  2332800, 0x24fe5cfa
+0,         16,         16,        1,  2332800, 0xb9607c3e
+0,         17,         17,        1,  2332800, 0x663669c9
+0,         19,         19,        1,  2332800, 0xd37fd62f
+0,         20,         20,        1,  2332800, 0x2d7db904
+0,         21,         21,        1,  2332800, 0x79a53eba
+0,         22,         22,        1,  2332800, 0x3b0c7e19
+0,         23,         23,        1,  2332800, 0xd12f64c5
+0,         24,         24,        1,  2332800, 0xacdb407f
+0,         25,         25,        1,  2332800, 0x829d7e61
+0,         26,         26,        1,  2332800, 0x7932b82f
+0,         27,         27,        1,  2332800, 0x61f81627
+0,         28,         28,        1,  2332800, 0xa1a2e000
+0,         29,         29,        1,  2332800, 0x93aad5e9
+0,         30,         30,        1,  2332800, 0x9993b5b5
+0,         31,         31,        1,  2332800, 0x6ac48232
+0,         32,         32,        1,  2332800, 0x5738f9c0
+0,         33,         33,        1,  2332800, 0x82a59d01
+0,         34,         34,        1,  2332800, 0xc4664862
+0,         35,         35,        1,  2332800, 0xf0e6222d
+0,         36,         36,        1,  2332800, 0xd29e7100
+0,         37,         37,        1,  2332800, 0xe093ef85
+0,         38,         38,        1,  2332800, 0x28c68a65
+0,         39,         39,        1,  2332800, 0x49a6b21e
+0,         40,         40,        1,  2332800, 0xfb28a097
+0,         41,         41,        1,  2332800, 0xade1e336
+0,         42,         42,        1,  2332800, 0xe5118412
+0,         43,         43,        1,  2332800, 0x58750176
+0,         44,         44,        1,  2332800, 0xacb99939
+0,         45,         45,        1,  2332800, 0x80b968d3
+0,         46,         46,        1,  2332800, 0xa45f4e6f
+0,         47,         47,        1,  2332800, 0xe0fcbade
+0,         48,         48,        1,  2332800, 0x19568f4d
+0,         49,         49,        1,  2332800, 0x33c53f59
+0,         50,         50,        1,  2332800, 0xbdbe8fbf
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list