From e21d85309943a51b7808f5e01dd258b262e09148 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 12 Feb 2015 21:00:04 +0100 Subject: [PATCH] FATE: add a test for the SVQ1 header byte swapping --- tests/fate/qt.mak | 3 +++ tests/ref/fate/svq1-headerswap | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 tests/ref/fate/svq1-headerswap diff --git a/tests/fate/qt.mak b/tests/fate/qt.mak index ac95d64822..97537f93ef 100644 --- a/tests/fate/qt.mak +++ b/tests/fate/qt.mak @@ -46,5 +46,8 @@ fate-rpza: CMD = framecrc -i $(TARGET_SAMPLES)/rpza/rpza2.mov -t 2 -pix_fmt rgb2 FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, SVQ1) += fate-svq1 fate-svq1: CMD = framecrc -i $(TARGET_SAMPLES)/svq1/marymary-shackles.mov -an -t 10 +FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, SVQ1) += fate-svq1-headerswap +fate-svq1-headerswap: CMD = framecrc -i $(TARGET_SAMPLES)/svq1/ct_ending_cut.mov -frames 4 + FATE_SAMPLES_AVCONV-$(call ALLYES, MOV_DEMUXER SVQ3_DECODER ZLIB) += fate-svq3 fate-svq3: CMD = framecrc -i $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov -t 6 -an diff --git a/tests/ref/fate/svq1-headerswap b/tests/ref/fate/svq1-headerswap new file mode 100644 index 0000000000..f5ffe4d652 --- /dev/null +++ b/tests/ref/fate/svq1-headerswap @@ -0,0 +1,5 @@ +#tb 0: 1/600 +0, 0, 0, 1, 58814, 0x5caad04b +0, 60, 60, 1, 58814, 0x98d8ceb8 +0, 120, 120, 1, 58814, 0x8925cdb0 +0, 180, 180, 1, 58814, 0x6ffc02c3