Module: libav
Branch: master
Commit: e21d85309943a51b7808f5e01dd258b262e09148

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Thu Feb 12 21:00:04 2015 +0100

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(+)

diff --git a/tests/fate/qt.mak b/tests/fate/qt.mak
index ac95d64..97537f9 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 0000000..f5ffe4d
--- /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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to