FATE: add an H.264 test with unescaped extradata
authorAnton Khirnov <anton@khirnov.net>
Sun, 10 Apr 2016 09:24:03 +0000 (11:24 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 15 Apr 2016 08:06:39 +0000 (10:06 +0200)
See commit a7829a2

tests/fate/h264.mak
tests/ref/fate/h264-unescaped-extradata [new file with mode: 0644]

index 04aad0a..516aeef 100644 (file)
@@ -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 (file)
index 0000000..a131b6c
--- /dev/null
@@ -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