[FFmpeg-cvslog] FATE: add an H.264 test with unescaped extradata
Anton Khirnov
git at videolan.org
Wed May 11 20:39:27 CEST 2016
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Apr 10 11:24:03 2016 +0200| [18019f8cb9663dd1032c65aa453eaec18d641905] | committer: Anton Khirnov
FATE: add an H.264 test with unescaped extradata
See commit a7829a2
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=18019f8cb9663dd1032c65aa453eaec18d641905
---
tests/fate/h264.mak | 4 ++++
tests/ref/fate/h264-unescaped-extradata | 11 +++++++++++
2 files changed, 15 insertions(+)
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 04aad0a..516aeef 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 0000000..a131b6c
--- /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
More information about the ffmpeg-cvslog
mailing list