From 18019f8cb9663dd1032c65aa453eaec18d641905 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 10 Apr 2016 11:24:03 +0200 Subject: FATE: add an H.264 test with unescaped extradata See commit a7829a2 --- tests/fate/h264.mak | 4 ++++ tests/ref/fate/h264-unescaped-extradata | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 tests/ref/fate/h264-unescaped-extradata (limited to 'tests') 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 -- cgit v1.2.3