summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-04-10 11:24:03 +0200
committerAnton Khirnov <anton@khirnov.net>2016-04-15 10:06:39 +0200
commit18019f8cb9663dd1032c65aa453eaec18d641905 (patch)
tree8c55e65904cbe1d1b802ab374c6a8ae4db07bcf1 /tests
parentd7abe900c3d34adcfef3a6f44a2e7bdb7d8974e7 (diff)
FATE: add an H.264 test with unescaped extradata
See commit a7829a2
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/h264.mak4
-rw-r--r--tests/ref/fate/h264-unescaped-extradata11
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 04aad0a270..516aeefd2c 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -190,6 +190,9 @@ FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-interlace-crop
# by using a previous ref frame instead of a missing one
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-invalid-ref-mod
+# this sample has invalid extradata that is not escaped
+FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-unescaped-extradata
+
FATE_H264-$(call ALLYES, MOV_DEMUXER H264_MP4TOANNEXB_BSF) += fate-h264-bsf-mp4toannexb
FATE_H264-$(call DEMDEC, MATROSKA, H264) += fate-h264-direct-bff
@@ -377,5 +380,6 @@ fate-h264-interlace-crop: CMD = framecrc -i $(TARGET_SAM
fate-h264-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264
fate-h264-direct-bff: CMD = framecrc -i $(TARGET_SAMPLES)/h264/direct-bff.mkv
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-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-unescaped-extradata b/tests/ref/fate/h264-unescaped-extradata
new file mode 100644
index 0000000000..a131b6cca1
--- /dev/null
+++ b/tests/ref/fate/h264-unescaped-extradata
@@ -0,0 +1,11 @@
+#tb 0: 1/44100
+0, 0, 0, 0, 84480, 0x0699eb38
+0, 1764, 1764, 0, 84480, 0xce902c32
+0, 3528, 3528, 0, 84480, 0xb6d125f7
+0, 5292, 5292, 0, 84480, 0x2555e93b
+0, 7056, 7056, 0, 84480, 0xaea5c08c
+0, 8820, 8820, 0, 84480, 0x848eb3da
+0, 10584, 10584, 0, 84480, 0x6cfabe90
+0, 12348, 12348, 0, 84480, 0xed16cc5e
+0, 14112, 14112, 0, 84480, 0xda8df8f8
+0, 15876, 15876, 0, 84480, 0x83fa054b