[FFmpeg-devel] [PATCH] mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd

Michael Niedermayer michaelni at gmx.at
Thu Sep 20 22:37:22 CEST 2012


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/mpegvideo.h                   |    2 +-
 tests/ref/fate/vsynth1-dnxhd-1080i       |    4 ++--
 tests/ref/fate/vsynth1-dnxhd-720p        |    6 +++---
 tests/ref/fate/vsynth1-dnxhd-720p-rd     |    4 ++--
 tests/ref/fate/vsynth1-flv               |    6 +++---
 tests/ref/fate/vsynth1-h261              |    6 +++---
 tests/ref/fate/vsynth1-h263              |    4 ++--
 tests/ref/fate/vsynth1-h263p             |    6 +++---
 tests/ref/fate/vsynth1-mjpeg             |    6 +++---
 tests/ref/fate/vsynth1-mpeg1             |    8 ++++----
 tests/ref/fate/vsynth1-mpeg1b            |    6 +++---
 tests/ref/fate/vsynth1-mpeg2             |    6 +++---
 tests/ref/fate/vsynth1-mpeg2-422         |    8 ++++----
 tests/ref/fate/vsynth1-mpeg2-ilace       |    6 +++---
 tests/ref/fate/vsynth1-mpeg2-ivlc-qprd   |    8 ++++----
 tests/ref/fate/vsynth1-mpeg2-thread      |    6 +++---
 tests/ref/fate/vsynth1-mpeg2-thread-ivlc |    6 +++---
 tests/ref/fate/vsynth1-mpeg4             |    6 +++---
 tests/ref/fate/vsynth1-mpeg4-adap        |    6 +++---
 tests/ref/fate/vsynth1-mpeg4-adv         |    4 ++--
 tests/ref/fate/vsynth1-mpeg4-error       |    8 ++++----
 tests/ref/fate/vsynth1-mpeg4-nr          |    8 ++++----
 tests/ref/fate/vsynth1-mpeg4-qpel        |    8 ++++----
 tests/ref/fate/vsynth1-mpeg4-qprd        |    6 +++---
 tests/ref/fate/vsynth1-mpeg4-rc          |    6 +++---
 tests/ref/fate/vsynth1-mpeg4-thread      |    6 +++---
 tests/ref/fate/vsynth1-msmpeg4           |    6 +++---
 tests/ref/fate/vsynth1-msmpeg4v2         |    6 +++---
 tests/ref/fate/vsynth1-rv10              |    6 +++---
 tests/ref/fate/vsynth1-rv20              |    6 +++---
 tests/ref/fate/vsynth1-wmv1              |    6 +++---
 tests/ref/fate/vsynth1-wmv2              |    6 +++---
 tests/ref/fate/vsynth2-amv               |    6 +++---
 tests/ref/fate/vsynth2-dnxhd-1080i       |    4 ++--
 tests/ref/fate/vsynth2-dnxhd-720p        |    6 +++---
 tests/ref/fate/vsynth2-dnxhd-720p-rd     |    4 ++--
 tests/ref/fate/vsynth2-flv               |    8 ++++----
 tests/ref/fate/vsynth2-h261              |    6 +++---
 tests/ref/fate/vsynth2-h263              |    6 +++---
 tests/ref/fate/vsynth2-h263p             |    6 +++---
 tests/ref/fate/vsynth2-mjpeg             |    6 +++---
 tests/ref/fate/vsynth2-mpeg1             |    6 +++---
 tests/ref/fate/vsynth2-mpeg1b            |    6 +++---
 tests/ref/fate/vsynth2-mpeg2             |    6 +++---
 tests/ref/fate/vsynth2-mpeg2-422         |    8 ++++----
 tests/ref/fate/vsynth2-mpeg2-ilace       |    6 +++---
 tests/ref/fate/vsynth2-mpeg2-thread      |    6 +++---
 tests/ref/fate/vsynth2-mpeg2-thread-ivlc |    6 +++---
 tests/ref/fate/vsynth2-mpeg4             |    6 +++---
 tests/ref/fate/vsynth2-mpeg4-adap        |    6 +++---
 tests/ref/fate/vsynth2-mpeg4-error       |    8 ++++----
 tests/ref/fate/vsynth2-mpeg4-nr          |    6 +++---
 tests/ref/fate/vsynth2-mpeg4-qpel        |    6 +++---
 tests/ref/fate/vsynth2-mpeg4-qprd        |    6 +++---
 tests/ref/fate/vsynth2-mpeg4-rc          |    6 +++---
 tests/ref/fate/vsynth2-mpeg4-thread      |    6 +++---
 tests/ref/fate/vsynth2-msmpeg4           |    8 ++++----
 tests/ref/fate/vsynth2-msmpeg4v2         |    8 ++++----
 tests/ref/fate/vsynth2-rv10              |    6 +++---
 tests/ref/fate/vsynth2-rv20              |    6 +++---
 tests/ref/fate/vsynth2-wmv1              |    6 +++---
 tests/ref/fate/vsynth2-wmv2              |    6 +++---
 tests/ref/lavf/avi                       |    6 +++---
 tests/ref/lavf/ffm                       |    4 ++--
 tests/ref/lavf/flv_fmt                   |    6 +++---
 tests/ref/lavf/gxf                       |   18 +++++++++---------
 tests/ref/lavf/ismv                      |   18 +++++++++---------
 tests/ref/lavf/jpg                       |    2 +-
 tests/ref/lavf/mkv                       |    6 +++---
 tests/ref/lavf/mov                       |   24 ++++++++++++------------
 tests/ref/lavf/mpg                       |   12 ++++++------
 tests/ref/lavf/mxf                       |   18 +++++++++---------
 tests/ref/lavf/mxf_d10                   |    4 ++--
 tests/ref/lavf/nut                       |    6 +++---
 tests/ref/lavf/rm                        |    4 ++--
 tests/ref/lavf/swf                       |    6 +++---
 tests/ref/lavf/ts                        |    6 +++---
 tests/ref/lavf/wtv                       |    4 ++--
 78 files changed, 261 insertions(+), 261 deletions(-)

diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 27a77c9..ea7e409 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -53,7 +53,7 @@ enum OutputFormat {
 #define MPEG_BUF_SIZE (16 * 1024)
 
 #define QMAT_SHIFT_MMX 16
-#define QMAT_SHIFT 22
+#define QMAT_SHIFT 21
 
 #define MAX_FCODE 7
 #define MAX_MV 2048
diff --git a/tests/ref/fate/vsynth1-dnxhd-1080i b/tests/ref/fate/vsynth1-dnxhd-1080i
index 3a9fd66..d47f76b 100644
--- a/tests/ref/fate/vsynth1-dnxhd-1080i
+++ b/tests/ref/fate/vsynth1-dnxhd-1080i
@@ -1,4 +1,4 @@
-027c985483caab9397592bf27477dce1 *tests/data/fate/vsynth1-dnxhd-1080i.mov
+fac7cbb7541f485ec3b1a7a24dbdca8f *tests/data/fate/vsynth1-dnxhd-1080i.mov
 3031911 tests/data/fate/vsynth1-dnxhd-1080i.mov
-0c651e840f860592f0d5b66030d9fa32 *tests/data/fate/vsynth1-dnxhd-1080i.out.rawvideo
+e55bf857297ba4d911a9d17a984b125d *tests/data/fate/vsynth1-dnxhd-1080i.out.rawvideo
 stddev:    6.29 PSNR: 32.15 MAXDIFF:   64 bytes:  7603200/   760320
diff --git a/tests/ref/fate/vsynth1-dnxhd-720p b/tests/ref/fate/vsynth1-dnxhd-720p
index 94c28ed..fd77e86 100644
--- a/tests/ref/fate/vsynth1-dnxhd-720p
+++ b/tests/ref/fate/vsynth1-dnxhd-720p
@@ -1,4 +1,4 @@
-81f5be451dc18cf8a1d333c7885de60b *tests/data/fate/vsynth1-dnxhd-720p.dnxhd
+af03d57b8320568027162132643f7814 *tests/data/fate/vsynth1-dnxhd-720p.dnxhd
 2293760 tests/data/fate/vsynth1-dnxhd-720p.dnxhd
-94b21e5e68ccf9471eff74afd0ebe319 *tests/data/fate/vsynth1-dnxhd-720p.out.rawvideo
-stddev:    6.32 PSNR: 32.11 MAXDIFF:  183 bytes:  7603200/   760320
+f074f1b5ed394871b3c73184ad55b895 *tests/data/fate/vsynth1-dnxhd-720p.out.rawvideo
+stddev:    6.26 PSNR: 32.19 MAXDIFF:   65 bytes:  7603200/   760320
diff --git a/tests/ref/fate/vsynth1-dnxhd-720p-rd b/tests/ref/fate/vsynth1-dnxhd-720p-rd
index 1de576a..0422776 100644
--- a/tests/ref/fate/vsynth1-dnxhd-720p-rd
+++ b/tests/ref/fate/vsynth1-dnxhd-720p-rd
@@ -1,4 +1,4 @@
-1dc6e95925c4f3a230848ec17c02abed *tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
+276e5175376051218b0e3eb36f9e9a63 *tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
 2293760 tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
-02972d2aec120ec1577ec9053d68ae0f *tests/data/fate/vsynth1-dnxhd-720p-rd.out.rawvideo
+28662df973b289798bf6069fbbee8071 *tests/data/fate/vsynth1-dnxhd-720p-rd.out.rawvideo
 stddev:    6.26 PSNR: 32.19 MAXDIFF:   65 bytes:  7603200/   760320
diff --git a/tests/ref/fate/vsynth1-flv b/tests/ref/fate/vsynth1-flv
index 4b57bdf..3a21e6a 100644
--- a/tests/ref/fate/vsynth1-flv
+++ b/tests/ref/fate/vsynth1-flv
@@ -1,4 +1,4 @@
-d6a80659cedee7698aefe9c4a8285fa4 *tests/data/fate/vsynth1-flv.flv
-636269 tests/data/fate/vsynth1-flv.flv
-5ab46d8dd01dbb1d63df2a84858a4b05 *tests/data/fate/vsynth1-flv.out.rawvideo
+7f6ece1acc4163e33a982dd77dfad58a *tests/data/fate/vsynth1-flv.flv
+636264 tests/data/fate/vsynth1-flv.flv
+00ffbd9dac9233e53f4a4a19589a0efe *tests/data/fate/vsynth1-flv.out.rawvideo
 stddev:    8.02 PSNR: 30.04 MAXDIFF:  105 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-h261 b/tests/ref/fate/vsynth1-h261
index be7f80a..eb9575d 100644
--- a/tests/ref/fate/vsynth1-h261
+++ b/tests/ref/fate/vsynth1-h261
@@ -1,4 +1,4 @@
-d155470b713aeebacb85980b0d5f2ce3 *tests/data/fate/vsynth1-h261.avi
-707588 tests/data/fate/vsynth1-h261.avi
-716e83cb51afb1246bfaa80967df48ea *tests/data/fate/vsynth1-h261.out.rawvideo
+fe87fa742c7f04449c5b1dd55bfe70e6 *tests/data/fate/vsynth1-h261.avi
+707558 tests/data/fate/vsynth1-h261.avi
+85fde92037c2ccecc02e2d6c21a169b0 *tests/data/fate/vsynth1-h261.out.rawvideo
 stddev:    9.11 PSNR: 28.93 MAXDIFF:  113 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-h263 b/tests/ref/fate/vsynth1-h263
index 5d5d28a..9f31fc6 100644
--- a/tests/ref/fate/vsynth1-h263
+++ b/tests/ref/fate/vsynth1-h263
@@ -1,4 +1,4 @@
-fb4dc9b9eac2628c56cb82cf332e1f58 *tests/data/fate/vsynth1-h263.avi
+0037e453d71210d9d6a2d625c490705c *tests/data/fate/vsynth1-h263.avi
 659686 tests/data/fate/vsynth1-h263.avi
-1a1ba9a3a63ec1a1a9585fded0a7c954 *tests/data/fate/vsynth1-h263.out.rawvideo
+aef88517578fa7f53fe5159c4b6754ef *tests/data/fate/vsynth1-h263.out.rawvideo
 stddev:    8.03 PSNR: 30.03 MAXDIFF:  103 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-h263p b/tests/ref/fate/vsynth1-h263p
index 9161a1d..a4cf7c8 100644
--- a/tests/ref/fate/vsynth1-h263p
+++ b/tests/ref/fate/vsynth1-h263p
@@ -1,4 +1,4 @@
-bbcadeceba295e1dad148aea1e57c370 *tests/data/fate/vsynth1-h263p.avi
-2328348 tests/data/fate/vsynth1-h263p.avi
-9554cda00c3487ab3ffda2c3ea22fa2f *tests/data/fate/vsynth1-h263p.out.rawvideo
+7474e28919ea4a6951e1534b951ddd28 *tests/data/fate/vsynth1-h263p.avi
+2328374 tests/data/fate/vsynth1-h263p.avi
+911330cb57c99c440234392be1588081 *tests/data/fate/vsynth1-h263p.out.rawvideo
 stddev:    2.06 PSNR: 41.83 MAXDIFF:   20 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mjpeg b/tests/ref/fate/vsynth1-mjpeg
index e32f452..6fd5c5b 100644
--- a/tests/ref/fate/vsynth1-mjpeg
+++ b/tests/ref/fate/vsynth1-mjpeg
@@ -1,4 +1,4 @@
-8bbf9513b1822945539f27a6eff3c7fa *tests/data/fate/vsynth1-mjpeg.avi
-1516140 tests/data/fate/vsynth1-mjpeg.avi
-c6ae81b5b896e4d05ff584311aebdb18 *tests/data/fate/vsynth1-mjpeg.out.rawvideo
+add304152c969eeb073157ccc9cc7799 *tests/data/fate/vsynth1-mjpeg.avi
+1515914 tests/data/fate/vsynth1-mjpeg.avi
+9a3b8169c251d19044f7087a95458c55 *tests/data/fate/vsynth1-mjpeg.out.rawvideo
 stddev:    7.87 PSNR: 30.21 MAXDIFF:   63 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg1 b/tests/ref/fate/vsynth1-mpeg1
index 5f3d703..b350cda 100644
--- a/tests/ref/fate/vsynth1-mpeg1
+++ b/tests/ref/fate/vsynth1-mpeg1
@@ -1,4 +1,4 @@
-1428744c6d5835f27506e69be4f837f4 *tests/data/fate/vsynth1-mpeg1.mpeg1video
-712006 tests/data/fate/vsynth1-mpeg1.mpeg1video
-58f0c332bf689117b57fa629a2bc0d2b *tests/data/fate/vsynth1-mpeg1.out.rawvideo
-stddev:    7.62 PSNR: 30.48 MAXDIFF:   84 bytes:  7603200/  7603200
+490e08209e30f162cf3f2a6f2e49c7ce *tests/data/fate/vsynth1-mpeg1.mpeg1video
+711835 tests/data/fate/vsynth1-mpeg1.mpeg1video
+c126c7dd12e7161df192d253e3100475 *tests/data/fate/vsynth1-mpeg1.out.rawvideo
+stddev:    7.63 PSNR: 30.48 MAXDIFF:   84 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg1b b/tests/ref/fate/vsynth1-mpeg1b
index ddd9bef..5c9e3c1 100644
--- a/tests/ref/fate/vsynth1-mpeg1b
+++ b/tests/ref/fate/vsynth1-mpeg1b
@@ -1,4 +1,4 @@
-777639666b449ab0a7ef260511e40532 *tests/data/fate/vsynth1-mpeg1b.mpeg1video
-1030337 tests/data/fate/vsynth1-mpeg1b.mpeg1video
-91a7fce732b34748e7bf753ebabe2483 *tests/data/fate/vsynth1-mpeg1b.out.rawvideo
+fc095c7816920052fd0b91329c60cf29 *tests/data/fate/vsynth1-mpeg1b.mpeg1video
+1031387 tests/data/fate/vsynth1-mpeg1b.mpeg1video
+22289cbbeb1e40c5fd68dcc73a07d8f5 *tests/data/fate/vsynth1-mpeg1b.out.rawvideo
 stddev:    6.30 PSNR: 32.13 MAXDIFF:   75 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2 b/tests/ref/fate/vsynth1-mpeg2
index 1ee3674..8dbc88b 100644
--- a/tests/ref/fate/vsynth1-mpeg2
+++ b/tests/ref/fate/vsynth1-mpeg2
@@ -1,4 +1,4 @@
-fbddea2368cd2028fc8db4dfd4682e94 *tests/data/fate/vsynth1-mpeg2.mpeg2video
-728044 tests/data/fate/vsynth1-mpeg2.mpeg2video
-b41ca49c1a02e66ce64d262e2cdaec15 *tests/data/fate/vsynth1-mpeg2.out.rawvideo
+5434d2fbac67dc1a910883c9c04644fa *tests/data/fate/vsynth1-mpeg2.mpeg2video
+728400 tests/data/fate/vsynth1-mpeg2.mpeg2video
+66c2a14725ba0a6f1535b9a62768977b *tests/data/fate/vsynth1-mpeg2.out.rawvideo
 stddev:    7.65 PSNR: 30.45 MAXDIFF:   84 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-422 b/tests/ref/fate/vsynth1-mpeg2-422
index 5948446..bb0dce7 100644
--- a/tests/ref/fate/vsynth1-mpeg2-422
+++ b/tests/ref/fate/vsynth1-mpeg2-422
@@ -1,4 +1,4 @@
-af0cb75451aaa807beb5102707a98823 *tests/data/fate/vsynth1-mpeg2-422.mpeg2video
-728200 tests/data/fate/vsynth1-mpeg2-422.mpeg2video
-eb7fe83ce09af2d79ec16577c9d44e3c *tests/data/fate/vsynth1-mpeg2-422.out.rawvideo
-stddev:   10.29 PSNR: 27.88 MAXDIFF:  168 bytes:  7603200/  7603200
+0af0a148bf44bed5d260cafae6cc53e7 *tests/data/fate/vsynth1-mpeg2-422.mpeg2video
+730780 tests/data/fate/vsynth1-mpeg2-422.mpeg2video
+0273cd8463d1fc115378748239951560 *tests/data/fate/vsynth1-mpeg2-422.out.rawvideo
+stddev:   10.27 PSNR: 27.90 MAXDIFF:  162 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-ilace b/tests/ref/fate/vsynth1-mpeg2-ilace
index be08c31..b83b04c 100644
--- a/tests/ref/fate/vsynth1-mpeg2-ilace
+++ b/tests/ref/fate/vsynth1-mpeg2-ilace
@@ -1,4 +1,4 @@
-ec3f6713c88a2b41f6c369fd64341077 *tests/data/fate/vsynth1-mpeg2-ilace.mpeg2video
-737473 tests/data/fate/vsynth1-mpeg2-ilace.mpeg2video
-97615390fdd69abfcbc7e02df863a7d2 *tests/data/fate/vsynth1-mpeg2-ilace.out.rawvideo
+8492b04953b04dbef51cbe065f894e47 *tests/data/fate/vsynth1-mpeg2-ilace.mpeg2video
+738127 tests/data/fate/vsynth1-mpeg2-ilace.mpeg2video
+d0f2fab8d3a3fb8bc67aca068447d2db *tests/data/fate/vsynth1-mpeg2-ilace.out.rawvideo
 stddev:    7.67 PSNR: 30.43 MAXDIFF:   84 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd b/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd
index 5ef30cd..4e00f0a 100644
--- a/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd
+++ b/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd
@@ -1,4 +1,4 @@
-8f6b20714918e6443e0c03716ed06f0d *tests/data/fate/vsynth1-mpeg2-ivlc-qprd.mpeg2video
-783552 tests/data/fate/vsynth1-mpeg2-ivlc-qprd.mpeg2video
-98eb9da15f880978e7f2ee1e7ce476ef *tests/data/fate/vsynth1-mpeg2-ivlc-qprd.out.rawvideo
-stddev:   10.07 PSNR: 28.06 MAXDIFF:  165 bytes:  7603200/  7603200
+f5e8917781d576d0721d44a3111d3efa *tests/data/fate/vsynth1-mpeg2-ivlc-qprd.mpeg2video
+783518 tests/data/fate/vsynth1-mpeg2-ivlc-qprd.mpeg2video
+0876d78f40971c5a8eb2367cbd27c5a6 *tests/data/fate/vsynth1-mpeg2-ivlc-qprd.out.rawvideo
+stddev:   10.07 PSNR: 28.07 MAXDIFF:  165 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-thread b/tests/ref/fate/vsynth1-mpeg2-thread
index 55a4fab..fd56bf0 100644
--- a/tests/ref/fate/vsynth1-mpeg2-thread
+++ b/tests/ref/fate/vsynth1-mpeg2-thread
@@ -1,4 +1,4 @@
-ecd183706688bd977c9994c3d1b23d61 *tests/data/fate/vsynth1-mpeg2-thread.mpeg2video
-801313 tests/data/fate/vsynth1-mpeg2-thread.mpeg2video
-d1658911ca83f5616c1d32abc40750de *tests/data/fate/vsynth1-mpeg2-thread.out.rawvideo
+c52f961dd53263cd9e7785a0d46949b7 *tests/data/fate/vsynth1-mpeg2-thread.mpeg2video
+801214 tests/data/fate/vsynth1-mpeg2-thread.mpeg2video
+d433c9b07b40b0d6c4fd5426699efb7f *tests/data/fate/vsynth1-mpeg2-thread.out.rawvideo
 stddev:    7.63 PSNR: 30.48 MAXDIFF:  110 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-thread-ivlc b/tests/ref/fate/vsynth1-mpeg2-thread-ivlc
index 7d04052..235dfe5 100644
--- a/tests/ref/fate/vsynth1-mpeg2-thread-ivlc
+++ b/tests/ref/fate/vsynth1-mpeg2-thread-ivlc
@@ -1,4 +1,4 @@
-23d600b026222253c2340e23300a4c02 *tests/data/fate/vsynth1-mpeg2-thread-ivlc.mpeg2video
-791773 tests/data/fate/vsynth1-mpeg2-thread-ivlc.mpeg2video
-d1658911ca83f5616c1d32abc40750de *tests/data/fate/vsynth1-mpeg2-thread-ivlc.out.rawvideo
+6c5ac0817a7fc501ed6d91e9b9899ed3 *tests/data/fate/vsynth1-mpeg2-thread-ivlc.mpeg2video
+791673 tests/data/fate/vsynth1-mpeg2-thread-ivlc.mpeg2video
+d433c9b07b40b0d6c4fd5426699efb7f *tests/data/fate/vsynth1-mpeg2-thread-ivlc.out.rawvideo
 stddev:    7.63 PSNR: 30.48 MAXDIFF:  110 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4 b/tests/ref/fate/vsynth1-mpeg4
index 988c921..f556c21 100644
--- a/tests/ref/fate/vsynth1-mpeg4
+++ b/tests/ref/fate/vsynth1-mpeg4
@@ -1,4 +1,4 @@
-6ea715a2de70af8d37128ce643e4cca0 *tests/data/fate/vsynth1-mpeg4.mp4
-539996 tests/data/fate/vsynth1-mpeg4.mp4
-8828a375448dc5c2215163ba70656f89 *tests/data/fate/vsynth1-mpeg4.out.rawvideo
+1283a1904765c40b7602402867a86c4f *tests/data/fate/vsynth1-mpeg4.mp4
+540024 tests/data/fate/vsynth1-mpeg4.mp4
+f80ec173d37f2f91add031e95579a220 *tests/data/fate/vsynth1-mpeg4.out.rawvideo
 stddev:    7.97 PSNR: 30.10 MAXDIFF:  105 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-adap b/tests/ref/fate/vsynth1-mpeg4-adap
index 12cd15e..1764e25 100644
--- a/tests/ref/fate/vsynth1-mpeg4-adap
+++ b/tests/ref/fate/vsynth1-mpeg4-adap
@@ -1,4 +1,4 @@
-2d870c0da9ab2231ab5fc06981e70399 *tests/data/fate/vsynth1-mpeg4-adap.avi
-403456 tests/data/fate/vsynth1-mpeg4-adap.avi
-fa2049396479b5f170aa764fed5b2a31 *tests/data/fate/vsynth1-mpeg4-adap.out.rawvideo
+520ee9e41fc09c5ad0d4b9852a2ea1d2 *tests/data/fate/vsynth1-mpeg4-adap.avi
+403444 tests/data/fate/vsynth1-mpeg4-adap.avi
+fad0b9dc08fe4a95b297af1a7411c1e9 *tests/data/fate/vsynth1-mpeg4-adap.out.rawvideo
 stddev:   14.05 PSNR: 25.17 MAXDIFF:  184 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-adv b/tests/ref/fate/vsynth1-mpeg4-adv
index e223d5f..c328a42 100644
--- a/tests/ref/fate/vsynth1-mpeg4-adv
+++ b/tests/ref/fate/vsynth1-mpeg4-adv
@@ -1,4 +1,4 @@
-7d8eb01fd68d83d62a98585757704d47 *tests/data/fate/vsynth1-mpeg4-adv.avi
+5b2b17eac3210b85d847e7088469b53c *tests/data/fate/vsynth1-mpeg4-adv.avi
 589716 tests/data/fate/vsynth1-mpeg4-adv.avi
-f8b226876b1b2c0b98fd6928fd9adbd8 *tests/data/fate/vsynth1-mpeg4-adv.out.rawvideo
+b651bd94456005a1990fb64c28306262 *tests/data/fate/vsynth1-mpeg4-adv.out.rawvideo
 stddev:    6.98 PSNR: 31.25 MAXDIFF:   84 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-error b/tests/ref/fate/vsynth1-mpeg4-error
index 74d5aaa..ab3a266 100644
--- a/tests/ref/fate/vsynth1-mpeg4-error
+++ b/tests/ref/fate/vsynth1-mpeg4-error
@@ -1,4 +1,4 @@
-7416dfd319f04044d4575dc9d1b406e1 *tests/data/fate/vsynth1-mpeg4-error.avi
-756836 tests/data/fate/vsynth1-mpeg4-error.avi
-79e94ba32b37759397362cbcb479d4d3 *tests/data/fate/vsynth1-mpeg4-error.out.rawvideo
-stddev:   18.36 PSNR: 22.85 MAXDIFF:  243 bytes:  7603200/  7603200
+ed45da2282cbc0a3e4d4d45bbcab71d8 *tests/data/fate/vsynth1-mpeg4-error.avi
+752358 tests/data/fate/vsynth1-mpeg4-error.avi
+5853c8c789f260ae4dcbf37a17d04b66 *tests/data/fate/vsynth1-mpeg4-error.out.rawvideo
+stddev:   17.33 PSNR: 23.35 MAXDIFF:  229 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-nr b/tests/ref/fate/vsynth1-mpeg4-nr
index a83f4fd..4814b1a 100644
--- a/tests/ref/fate/vsynth1-mpeg4-nr
+++ b/tests/ref/fate/vsynth1-mpeg4-nr
@@ -1,4 +1,4 @@
-c02f54157ba08ca12ad979c6308212ad *tests/data/fate/vsynth1-mpeg4-nr.avi
-675638 tests/data/fate/vsynth1-mpeg4-nr.avi
-d2b89d5958fb7331f6c9e5b7ecaaa5b6 *tests/data/fate/vsynth1-mpeg4-nr.out.rawvideo
-stddev:    6.99 PSNR: 31.23 MAXDIFF:   86 bytes:  7603200/  7603200
+9f990e290b5978f0243ea5a2141feb6c *tests/data/fate/vsynth1-mpeg4-nr.avi
+675464 tests/data/fate/vsynth1-mpeg4-nr.avi
+5fee518cde41e5567f800fbe14210fb8 *tests/data/fate/vsynth1-mpeg4-nr.out.rawvideo
+stddev:    6.99 PSNR: 31.24 MAXDIFF:   86 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-qpel b/tests/ref/fate/vsynth1-mpeg4-qpel
index 254c3ee..00c0022 100644
--- a/tests/ref/fate/vsynth1-mpeg4-qpel
+++ b/tests/ref/fate/vsynth1-mpeg4-qpel
@@ -1,4 +1,4 @@
-3bf17c3d04f52988386ce106a2a58976 *tests/data/fate/vsynth1-mpeg4-qpel.avi
-860678 tests/data/fate/vsynth1-mpeg4-qpel.avi
-756928496245ecc701f79eebeec8e5e6 *tests/data/fate/vsynth1-mpeg4-qpel.out.rawvideo
-stddev:    5.63 PSNR: 33.12 MAXDIFF:   70 bytes:  7603200/  7603200
+8636a8011e315dafe7fa66e493a41174 *tests/data/fate/vsynth1-mpeg4-qpel.avi
+858692 tests/data/fate/vsynth1-mpeg4-qpel.avi
+5089090df7169eb482532df5471d7f5f *tests/data/fate/vsynth1-mpeg4-qpel.out.rawvideo
+stddev:    5.63 PSNR: 33.11 MAXDIFF:   70 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-qprd b/tests/ref/fate/vsynth1-mpeg4-qprd
index 1a61654..8a5f84c 100644
--- a/tests/ref/fate/vsynth1-mpeg4-qprd
+++ b/tests/ref/fate/vsynth1-mpeg4-qprd
@@ -1,4 +1,4 @@
-d6b7e724a6ad66ab5e4c5a499218b40d *tests/data/fate/vsynth1-mpeg4-qprd.avi
-710944 tests/data/fate/vsynth1-mpeg4-qprd.avi
-e65f4c7f343fe2bad1cac44b7da5f7c4 *tests/data/fate/vsynth1-mpeg4-qprd.out.rawvideo
+d4746d1d22f2d464b1cdd6cc2d63ddcf *tests/data/fate/vsynth1-mpeg4-qprd.avi
+710684 tests/data/fate/vsynth1-mpeg4-qprd.avi
+693231ac7e6fbf8758415f9f2509408d *tests/data/fate/vsynth1-mpeg4-qprd.out.rawvideo
 stddev:    9.79 PSNR: 28.31 MAXDIFF:  176 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-rc b/tests/ref/fate/vsynth1-mpeg4-rc
index 180df10..74bde1c 100644
--- a/tests/ref/fate/vsynth1-mpeg4-rc
+++ b/tests/ref/fate/vsynth1-mpeg4-rc
@@ -1,4 +1,4 @@
-1c6dadf75f60f4ba59a0fe0b6eaedf57 *tests/data/fate/vsynth1-mpeg4-rc.avi
-830160 tests/data/fate/vsynth1-mpeg4-rc.avi
-4d95e340db9bc57a559162c039f3784e *tests/data/fate/vsynth1-mpeg4-rc.out.rawvideo
+7d147478239dbc75f1ea3f7e27b07c95 *tests/data/fate/vsynth1-mpeg4-rc.avi
+830506 tests/data/fate/vsynth1-mpeg4-rc.avi
+9dcd9d022ae14fe1e4a53aa4865464c6 *tests/data/fate/vsynth1-mpeg4-rc.out.rawvideo
 stddev:   10.24 PSNR: 27.92 MAXDIFF:  196 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-thread b/tests/ref/fate/vsynth1-mpeg4-thread
index 66a5508..b60933d 100644
--- a/tests/ref/fate/vsynth1-mpeg4-thread
+++ b/tests/ref/fate/vsynth1-mpeg4-thread
@@ -1,4 +1,4 @@
-4f4ea04faad7212374919aa1ec7ff994 *tests/data/fate/vsynth1-mpeg4-thread.avi
-774760 tests/data/fate/vsynth1-mpeg4-thread.avi
-64b96cddf5301990e118978b3a3bcd0d *tests/data/fate/vsynth1-mpeg4-thread.out.rawvideo
+ae675a6a953ddeaecb7a9db14c4d0fa0 *tests/data/fate/vsynth1-mpeg4-thread.avi
+774762 tests/data/fate/vsynth1-mpeg4-thread.avi
+9aa327a244d5179acf7fe64dc1459bff *tests/data/fate/vsynth1-mpeg4-thread.out.rawvideo
 stddev:   10.13 PSNR: 28.02 MAXDIFF:  183 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-msmpeg4 b/tests/ref/fate/vsynth1-msmpeg4
index 55fb06d..8d32ccc 100644
--- a/tests/ref/fate/vsynth1-msmpeg4
+++ b/tests/ref/fate/vsynth1-msmpeg4
@@ -1,4 +1,4 @@
-4b08952b0afceb17ee3db31b67f6b778 *tests/data/fate/vsynth1-msmpeg4.avi
-624718 tests/data/fate/vsynth1-msmpeg4.avi
-5ca72c39e3fc5df8e62f223c869589f5 *tests/data/fate/vsynth1-msmpeg4.out.rawvideo
+f63295e3dcf4afe48135667dbe9b60b8 *tests/data/fate/vsynth1-msmpeg4.avi
+624714 tests/data/fate/vsynth1-msmpeg4.avi
+4529fee96b8073e02974f5355e5f6c4e *tests/data/fate/vsynth1-msmpeg4.out.rawvideo
 stddev:    7.98 PSNR: 30.09 MAXDIFF:  104 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-msmpeg4v2 b/tests/ref/fate/vsynth1-msmpeg4v2
index 839078a..ff54534 100644
--- a/tests/ref/fate/vsynth1-msmpeg4v2
+++ b/tests/ref/fate/vsynth1-msmpeg4v2
@@ -1,4 +1,4 @@
-88957e35efcc718bce0307627ad3298d *tests/data/fate/vsynth1-msmpeg4v2.avi
-623788 tests/data/fate/vsynth1-msmpeg4v2.avi
-c6ff1041a0ef62c2a2e5ef519e5e94c4 *tests/data/fate/vsynth1-msmpeg4v2.out.rawvideo
+6fbce2ce8618cf8c4c19897188eb1ca0 *tests/data/fate/vsynth1-msmpeg4v2.avi
+623778 tests/data/fate/vsynth1-msmpeg4v2.avi
+0476d9aafc4358654f411fa9648f9560 *tests/data/fate/vsynth1-msmpeg4v2.out.rawvideo
 stddev:    7.97 PSNR: 30.10 MAXDIFF:  105 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-rv10 b/tests/ref/fate/vsynth1-rv10
index 234015f..d414bd6 100644
--- a/tests/ref/fate/vsynth1-rv10
+++ b/tests/ref/fate/vsynth1-rv10
@@ -1,4 +1,4 @@
-4d7e82de72a83905cf84b8abc3e70b8f *tests/data/fate/vsynth1-rv10.rm
-653905 tests/data/fate/vsynth1-rv10.rm
-1a1ba9a3a63ec1a1a9585fded0a7c954 *tests/data/fate/vsynth1-rv10.out.rawvideo
+5ef46004d474669d19ad06133a1cf137 *tests/data/fate/vsynth1-rv10.rm
+653907 tests/data/fate/vsynth1-rv10.rm
+aef88517578fa7f53fe5159c4b6754ef *tests/data/fate/vsynth1-rv10.out.rawvideo
 stddev:    8.03 PSNR: 30.03 MAXDIFF:  103 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-rv20 b/tests/ref/fate/vsynth1-rv20
index abcc4a1..5b3310a 100644
--- a/tests/ref/fate/vsynth1-rv20
+++ b/tests/ref/fate/vsynth1-rv20
@@ -1,4 +1,4 @@
-81868601e602eee5b6d80f5ece4aaa98 *tests/data/fate/vsynth1-rv20.rm
-646016 tests/data/fate/vsynth1-rv20.rm
-b45fdb0201b06f7649f44050e262c54c *tests/data/fate/vsynth1-rv20.out.rawvideo
+0f04eec24aaa8ea06eafc58082c2e2ef *tests/data/fate/vsynth1-rv20.rm
+646019 tests/data/fate/vsynth1-rv20.rm
+3f55bcfb3c672d74f0fa64aa90aa0395 *tests/data/fate/vsynth1-rv20.out.rawvideo
 stddev:    8.26 PSNR: 29.79 MAXDIFF:  103 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-wmv1 b/tests/ref/fate/vsynth1-wmv1
index d487e4e..9afc020 100644
--- a/tests/ref/fate/vsynth1-wmv1
+++ b/tests/ref/fate/vsynth1-wmv1
@@ -1,4 +1,4 @@
-4f3461315776e5118866fa3819cff9b6 *tests/data/fate/vsynth1-wmv1.avi
-626908 tests/data/fate/vsynth1-wmv1.avi
-5182edba5b5e0354b39ce4f3604b62da *tests/data/fate/vsynth1-wmv1.out.rawvideo
+8c406d0253bd474d4764f5d75776fc03 *tests/data/fate/vsynth1-wmv1.avi
+626882 tests/data/fate/vsynth1-wmv1.avi
+3354066ebdd8cd8098394be2384744e7 *tests/data/fate/vsynth1-wmv1.out.rawvideo
 stddev:    7.97 PSNR: 30.09 MAXDIFF:  110 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth1-wmv2 b/tests/ref/fate/vsynth1-wmv2
index 14304dd..6ce5520 100644
--- a/tests/ref/fate/vsynth1-wmv2
+++ b/tests/ref/fate/vsynth1-wmv2
@@ -1,4 +1,4 @@
-13efda9d3811345aadc0632fc9a9332b *tests/data/fate/vsynth1-wmv2.avi
-659852 tests/data/fate/vsynth1-wmv2.avi
-5182edba5b5e0354b39ce4f3604b62da *tests/data/fate/vsynth1-wmv2.out.rawvideo
+916932bf4b81443b4b87128ba8b63580 *tests/data/fate/vsynth1-wmv2.avi
+659844 tests/data/fate/vsynth1-wmv2.avi
+3354066ebdd8cd8098394be2384744e7 *tests/data/fate/vsynth1-wmv2.out.rawvideo
 stddev:    7.97 PSNR: 30.09 MAXDIFF:  110 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-amv b/tests/ref/fate/vsynth2-amv
index fa0672d..313edac 100644
--- a/tests/ref/fate/vsynth2-amv
+++ b/tests/ref/fate/vsynth2-amv
@@ -1,4 +1,4 @@
-816a4226fe7640a835139f8a44286a12 *tests/data/fate/vsynth2-amv.avi
-761976 tests/data/fate/vsynth2-amv.avi
-4f8991a2b25c90f44b18c4b83eb0090d *tests/data/fate/vsynth2-amv.out.rawvideo
+853ae9d6426cb3c4d4bad3592e1a2ec3 *tests/data/fate/vsynth2-amv.avi
+761988 tests/data/fate/vsynth2-amv.avi
+f256ad9feefb499c6569d06d868eb496 *tests/data/fate/vsynth2-amv.out.rawvideo
 stddev:    4.30 PSNR: 35.46 MAXDIFF:   65 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-dnxhd-1080i b/tests/ref/fate/vsynth2-dnxhd-1080i
index ba5bc85..61d3910 100644
--- a/tests/ref/fate/vsynth2-dnxhd-1080i
+++ b/tests/ref/fate/vsynth2-dnxhd-1080i
@@ -1,4 +1,4 @@
-204e80f2e406ada90fca596ab2810b3e *tests/data/fate/vsynth2-dnxhd-1080i.mov
+30ce40fa86812462456a6e68c79a0f6a *tests/data/fate/vsynth2-dnxhd-1080i.mov
 3031911 tests/data/fate/vsynth2-dnxhd-1080i.mov
-3c559af629ae0a8fb1a9a0e4b4da7733 *tests/data/fate/vsynth2-dnxhd-1080i.out.rawvideo
+27edc8dfe2ca19097c7f9119705b3a60 *tests/data/fate/vsynth2-dnxhd-1080i.out.rawvideo
 stddev:    1.31 PSNR: 45.77 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/fate/vsynth2-dnxhd-720p b/tests/ref/fate/vsynth2-dnxhd-720p
index afc6fde..0a8441b 100644
--- a/tests/ref/fate/vsynth2-dnxhd-720p
+++ b/tests/ref/fate/vsynth2-dnxhd-720p
@@ -1,4 +1,4 @@
-58e07cc6ae0a2d36787044d0e82708a6 *tests/data/fate/vsynth2-dnxhd-720p.dnxhd
+4ca9473a8d106bdfe36e9bf7c516b648 *tests/data/fate/vsynth2-dnxhd-720p.dnxhd
 2293760 tests/data/fate/vsynth2-dnxhd-720p.dnxhd
-ab601eaafef74d80d3d20b780dddd836 *tests/data/fate/vsynth2-dnxhd-720p.out.rawvideo
-stddev:    1.36 PSNR: 45.45 MAXDIFF:  127 bytes:  7603200/   760320
+d44c4b08cda8a8042ae345124fdfffcc *tests/data/fate/vsynth2-dnxhd-720p.out.rawvideo
+stddev:    1.32 PSNR: 45.68 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/fate/vsynth2-dnxhd-720p-rd b/tests/ref/fate/vsynth2-dnxhd-720p-rd
index c1b8f96..5387ce5 100644
--- a/tests/ref/fate/vsynth2-dnxhd-720p-rd
+++ b/tests/ref/fate/vsynth2-dnxhd-720p-rd
@@ -1,4 +1,4 @@
-092ffb7b8cf3c11556bb05dbb8b476ac *tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
+b305b03708e905717b42fc0b304367d4 *tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
 2293760 tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
-33547ca318acff9448cba719cb99296d *tests/data/fate/vsynth2-dnxhd-720p-rd.out.rawvideo
+13de1c5ed025abb5120450e134aa623d *tests/data/fate/vsynth2-dnxhd-720p-rd.out.rawvideo
 stddev:    1.32 PSNR: 45.66 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/fate/vsynth2-flv b/tests/ref/fate/vsynth2-flv
index 6864a1b..ab31755 100644
--- a/tests/ref/fate/vsynth2-flv
+++ b/tests/ref/fate/vsynth2-flv
@@ -1,4 +1,4 @@
-2edc92093d36506bcc0a5c0e17e86113 *tests/data/fate/vsynth2-flv.flv
-131360 tests/data/fate/vsynth2-flv.flv
-8999c8264fb0941561f64c4a736e9d88 *tests/data/fate/vsynth2-flv.out.rawvideo
-stddev:    5.33 PSNR: 33.59 MAXDIFF:   80 bytes:  7603200/  7603200
+dee04bdab18c2eed81373faec89fd5a7 *tests/data/fate/vsynth2-flv.flv
+131380 tests/data/fate/vsynth2-flv.flv
+184034553ceb801bb1d1521d2d998a67 *tests/data/fate/vsynth2-flv.out.rawvideo
+stddev:    5.33 PSNR: 33.59 MAXDIFF:   79 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-h261 b/tests/ref/fate/vsynth2-h261
index 908e670..375c5c6 100644
--- a/tests/ref/fate/vsynth2-h261
+++ b/tests/ref/fate/vsynth2-h261
@@ -1,4 +1,4 @@
-dfd005d4c9030a0dc889c828a6408b9c *tests/data/fate/vsynth2-h261.avi
-191086 tests/data/fate/vsynth2-h261.avi
-db7ceff174823b98834faa2320ca89ac *tests/data/fate/vsynth2-h261.out.rawvideo
+3a11ad7fb9e953041f40d0e8fd0ff278 *tests/data/fate/vsynth2-h261.avi
+191072 tests/data/fate/vsynth2-h261.avi
+08f65e9aeeeaf189548c2bb417d5114f *tests/data/fate/vsynth2-h261.out.rawvideo
 stddev:    6.37 PSNR: 32.03 MAXDIFF:   77 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-h263 b/tests/ref/fate/vsynth2-h263
index 46169d7..47c86c5 100644
--- a/tests/ref/fate/vsynth2-h263
+++ b/tests/ref/fate/vsynth2-h263
@@ -1,4 +1,4 @@
-9a368687ab34c48079f11a202839a6bc *tests/data/fate/vsynth2-h263.avi
-160106 tests/data/fate/vsynth2-h263.avi
-61213b91b359697ebcefb9e0a53ac54a *tests/data/fate/vsynth2-h263.out.rawvideo
+dc956aec267ebed753c1284847f62e2e *tests/data/fate/vsynth2-h263.avi
+160114 tests/data/fate/vsynth2-h263.avi
+b7d733ebedbaa04f49bf7493a907e223 *tests/data/fate/vsynth2-h263.out.rawvideo
 stddev:    5.43 PSNR: 33.42 MAXDIFF:   77 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-h263p b/tests/ref/fate/vsynth2-h263p
index 6e45957..2920d7a 100644
--- a/tests/ref/fate/vsynth2-h263p
+++ b/tests/ref/fate/vsynth2-h263p
@@ -1,4 +1,4 @@
-c7644d40e9f40bbd98e5a978f9f94bb4 *tests/data/fate/vsynth2-h263p.avi
-868018 tests/data/fate/vsynth2-h263p.avi
-4b0ee791f280029dc03c528f76f195d4 *tests/data/fate/vsynth2-h263p.out.rawvideo
+628d3df9dad01c2da648f4cdc31ef62d *tests/data/fate/vsynth2-h263p.avi
+868010 tests/data/fate/vsynth2-h263p.avi
+dca18571c05c13dd691d7b0b232e43fc *tests/data/fate/vsynth2-h263p.out.rawvideo
 stddev:    1.91 PSNR: 42.50 MAXDIFF:   19 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mjpeg b/tests/ref/fate/vsynth2-mjpeg
index e7649ff..c823c42 100644
--- a/tests/ref/fate/vsynth2-mjpeg
+++ b/tests/ref/fate/vsynth2-mjpeg
@@ -1,4 +1,4 @@
-89df32b46c977fb4cb140ec6c489dd76 *tests/data/fate/vsynth2-mjpeg.avi
-673224 tests/data/fate/vsynth2-mjpeg.avi
-a96a4e15ffcb13e44360df642d049496 *tests/data/fate/vsynth2-mjpeg.out.rawvideo
+fb05e46b8c69ad1f00d3d15cf4be6cee *tests/data/fate/vsynth2-mjpeg.avi
+673186 tests/data/fate/vsynth2-mjpeg.avi
+9d4bd90e9abfa18192383b4adc23c8d4 *tests/data/fate/vsynth2-mjpeg.out.rawvideo
 stddev:    4.32 PSNR: 35.40 MAXDIFF:   49 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg1 b/tests/ref/fate/vsynth2-mpeg1
index a975973..bc94fbc 100644
--- a/tests/ref/fate/vsynth2-mpeg1
+++ b/tests/ref/fate/vsynth2-mpeg1
@@ -1,4 +1,4 @@
-73ca6f1deab02d1d67a0e8495c026a9e *tests/data/fate/vsynth2-mpeg1.mpeg1video
-192783 tests/data/fate/vsynth2-mpeg1.mpeg1video
-56147e94b12f08df7213e610e177823d *tests/data/fate/vsynth2-mpeg1.out.rawvideo
+c6f1a98dd7201b1e5d7f0f69d7e9577d *tests/data/fate/vsynth2-mpeg1.mpeg1video
+192794 tests/data/fate/vsynth2-mpeg1.mpeg1video
+b3584042c60385e0fb988b8ec5b36409 *tests/data/fate/vsynth2-mpeg1.out.rawvideo
 stddev:    4.95 PSNR: 34.22 MAXDIFF:   57 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg1b b/tests/ref/fate/vsynth2-mpeg1b
index 4b92ac5..f4864a5 100644
--- a/tests/ref/fate/vsynth2-mpeg1b
+++ b/tests/ref/fate/vsynth2-mpeg1b
@@ -1,4 +1,4 @@
-e026a2fef80c9679776d2b5c8be09338 *tests/data/fate/vsynth2-mpeg1b.mpeg1video
-225198 tests/data/fate/vsynth2-mpeg1b.mpeg1video
-1150495f4bd487486ee53326c42d0bb8 *tests/data/fate/vsynth2-mpeg1b.out.rawvideo
+8300bede250c3987f1c5bc9bbd1d78e1 *tests/data/fate/vsynth2-mpeg1b.mpeg1video
+225201 tests/data/fate/vsynth2-mpeg1b.mpeg1video
+f17fb3eef4ed3d03eeaaee45b217f7a5 *tests/data/fate/vsynth2-mpeg1b.out.rawvideo
 stddev:    4.10 PSNR: 35.86 MAXDIFF:   59 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2 b/tests/ref/fate/vsynth2-mpeg2
index a2a2ca6..b5f5af9 100644
--- a/tests/ref/fate/vsynth2-mpeg2
+++ b/tests/ref/fate/vsynth2-mpeg2
@@ -1,4 +1,4 @@
-2d55ce623a7be4e8136f80266e487678 *tests/data/fate/vsynth2-mpeg2.mpeg2video
-198667 tests/data/fate/vsynth2-mpeg2.mpeg2video
-b7cae8a1f751b821cddcbe4d5dbc518c *tests/data/fate/vsynth2-mpeg2.out.rawvideo
+81fc934ad6901b6c37a59b94ccda8de7 *tests/data/fate/vsynth2-mpeg2.mpeg2video
+198673 tests/data/fate/vsynth2-mpeg2.mpeg2video
+9efe4846a75d9b7387d1e3bb1e5db29a *tests/data/fate/vsynth2-mpeg2.out.rawvideo
 stddev:    4.96 PSNR: 34.20 MAXDIFF:   59 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-422 b/tests/ref/fate/vsynth2-mpeg2-422
index 2405cf0..14d751b 100644
--- a/tests/ref/fate/vsynth2-mpeg2-422
+++ b/tests/ref/fate/vsynth2-mpeg2-422
@@ -1,4 +1,4 @@
-2c8e33c2d2efab86fc16a195f6877682 *tests/data/fate/vsynth2-mpeg2-422.mpeg2video
-356124 tests/data/fate/vsynth2-mpeg2-422.mpeg2video
-df6e54e2d8a4feb8382029286857ca6d *tests/data/fate/vsynth2-mpeg2-422.out.rawvideo
-stddev:    3.16 PSNR: 38.13 MAXDIFF:   49 bytes:  7603200/  7603200
+99ba26ba009e0172855a9dadaefef2d9 *tests/data/fate/vsynth2-mpeg2-422.mpeg2video
+356431 tests/data/fate/vsynth2-mpeg2-422.mpeg2video
+51ca353620f85db8b5b1c56f1a275add *tests/data/fate/vsynth2-mpeg2-422.out.rawvideo
+stddev:    3.15 PSNR: 38.14 MAXDIFF:   49 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-ilace b/tests/ref/fate/vsynth2-mpeg2-ilace
index e488bc5..2f9a306 100644
--- a/tests/ref/fate/vsynth2-mpeg2-ilace
+++ b/tests/ref/fate/vsynth2-mpeg2-ilace
@@ -1,4 +1,4 @@
-f90197a8b6e62ae25f82625337f27240 *tests/data/fate/vsynth2-mpeg2-ilace.mpeg2video
-204579 tests/data/fate/vsynth2-mpeg2-ilace.mpeg2video
-ea5057b60146c06d40449cdfc686bf13 *tests/data/fate/vsynth2-mpeg2-ilace.out.rawvideo
+a6f4c4dbd7f73b73e876fbd7a9650610 *tests/data/fate/vsynth2-mpeg2-ilace.mpeg2video
+204576 tests/data/fate/vsynth2-mpeg2-ilace.mpeg2video
+d69be0d4ba1cb9c1fef9fb0d94a912ba *tests/data/fate/vsynth2-mpeg2-ilace.out.rawvideo
 stddev:    4.98 PSNR: 34.18 MAXDIFF:   65 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-thread b/tests/ref/fate/vsynth2-mpeg2-thread
index f43cdbc..40552fe 100644
--- a/tests/ref/fate/vsynth2-mpeg2-thread
+++ b/tests/ref/fate/vsynth2-mpeg2-thread
@@ -1,4 +1,4 @@
-889c754a42d7689b228853e1ece6d345 *tests/data/fate/vsynth2-mpeg2-thread.mpeg2video
-179650 tests/data/fate/vsynth2-mpeg2-thread.mpeg2video
-8c6a7ed2eb73bd18fd2bb9829464100d *tests/data/fate/vsynth2-mpeg2-thread.out.rawvideo
+38af1e2261ae363abea5818db74ea241 *tests/data/fate/vsynth2-mpeg2-thread.mpeg2video
+179656 tests/data/fate/vsynth2-mpeg2-thread.mpeg2video
+f8f084b7f51fbe4f82d57b8aeec17edf *tests/data/fate/vsynth2-mpeg2-thread.out.rawvideo
 stddev:    4.72 PSNR: 34.65 MAXDIFF:   72 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-thread-ivlc b/tests/ref/fate/vsynth2-mpeg2-thread-ivlc
index 2c42a21..9bcac8b 100644
--- a/tests/ref/fate/vsynth2-mpeg2-thread-ivlc
+++ b/tests/ref/fate/vsynth2-mpeg2-thread-ivlc
@@ -1,4 +1,4 @@
-10b900e32809758857c596d56746e00e *tests/data/fate/vsynth2-mpeg2-thread-ivlc.mpeg2video
-178801 tests/data/fate/vsynth2-mpeg2-thread-ivlc.mpeg2video
-8c6a7ed2eb73bd18fd2bb9829464100d *tests/data/fate/vsynth2-mpeg2-thread-ivlc.out.rawvideo
+9cb6b65e05fa854da2ad08b34fe032aa *tests/data/fate/vsynth2-mpeg2-thread-ivlc.mpeg2video
+178807 tests/data/fate/vsynth2-mpeg2-thread-ivlc.mpeg2video
+f8f084b7f51fbe4f82d57b8aeec17edf *tests/data/fate/vsynth2-mpeg2-thread-ivlc.out.rawvideo
 stddev:    4.72 PSNR: 34.65 MAXDIFF:   72 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4 b/tests/ref/fate/vsynth2-mpeg4
index 9e81c17..ae56b6e 100644
--- a/tests/ref/fate/vsynth2-mpeg4
+++ b/tests/ref/fate/vsynth2-mpeg4
@@ -1,4 +1,4 @@
-051ff85797971b9047723044eaec07be *tests/data/fate/vsynth2-mpeg4.mp4
-119649 tests/data/fate/vsynth2-mpeg4.mp4
-90a3577850239083a9042bef33c50e85 *tests/data/fate/vsynth2-mpeg4.out.rawvideo
+d87d88d02c63f07e574c39a72a95a3af *tests/data/fate/vsynth2-mpeg4.mp4
+119661 tests/data/fate/vsynth2-mpeg4.mp4
+9a1e085d9e488c5ead0c940c9612a37a *tests/data/fate/vsynth2-mpeg4.out.rawvideo
 stddev:    5.34 PSNR: 33.57 MAXDIFF:   83 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-adap b/tests/ref/fate/vsynth2-mpeg4-adap
index d2f3bd1..0209cce 100644
--- a/tests/ref/fate/vsynth2-mpeg4-adap
+++ b/tests/ref/fate/vsynth2-mpeg4-adap
@@ -1,4 +1,4 @@
-547e1849dcf910935ff6383ca49e5706 *tests/data/fate/vsynth2-mpeg4-adap.avi
-198510 tests/data/fate/vsynth2-mpeg4-adap.avi
-4affb83f6adc94f31024b4f9e0168945 *tests/data/fate/vsynth2-mpeg4-adap.out.rawvideo
+d1683da1db86ec4365a9629ca764951f *tests/data/fate/vsynth2-mpeg4-adap.avi
+198508 tests/data/fate/vsynth2-mpeg4-adap.avi
+87b6dbe98d276137fceaae2fa672eced *tests/data/fate/vsynth2-mpeg4-adap.out.rawvideo
 stddev:    3.75 PSNR: 36.65 MAXDIFF:   71 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-error b/tests/ref/fate/vsynth2-mpeg4-error
index a3f4453..eb9fc37 100644
--- a/tests/ref/fate/vsynth2-mpeg4-error
+++ b/tests/ref/fate/vsynth2-mpeg4-error
@@ -1,4 +1,4 @@
-90e65096aa9ebafa3fe3f44a5a47cdc4 *tests/data/fate/vsynth2-mpeg4-error.avi
-176588 tests/data/fate/vsynth2-mpeg4-error.avi
-96baa9e4c24c837a3ba5abd8dd2cdd30 *tests/data/fate/vsynth2-mpeg4-error.out.rawvideo
-stddev:    8.98 PSNR: 29.06 MAXDIFF:  184 bytes:  7603200/  7603200
+ee46af7cbbb9c7c03311e2143190fb20 *tests/data/fate/vsynth2-mpeg4-error.avi
+180376 tests/data/fate/vsynth2-mpeg4-error.avi
+4537ba5320f1ae0971cc6e329c366776 *tests/data/fate/vsynth2-mpeg4-error.out.rawvideo
+stddev:    7.65 PSNR: 30.45 MAXDIFF:  158 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-nr b/tests/ref/fate/vsynth2-mpeg4-nr
index 752b504..0a1194a 100644
--- a/tests/ref/fate/vsynth2-mpeg4-nr
+++ b/tests/ref/fate/vsynth2-mpeg4-nr
@@ -1,4 +1,4 @@
-c41187c99588fb7229ad330b2f80d28b *tests/data/fate/vsynth2-mpeg4-nr.avi
-155044 tests/data/fate/vsynth2-mpeg4-nr.avi
-f7fc191308679f709405e62271f5c65f *tests/data/fate/vsynth2-mpeg4-nr.out.rawvideo
+a42042b1a2d3f4577d6293fc0dd077cb *tests/data/fate/vsynth2-mpeg4-nr.avi
+155006 tests/data/fate/vsynth2-mpeg4-nr.avi
+d89cd5d0b1707f48fa9c4747c66d2d56 *tests/data/fate/vsynth2-mpeg4-nr.out.rawvideo
 stddev:    4.73 PSNR: 34.63 MAXDIFF:   64 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-qpel b/tests/ref/fate/vsynth2-mpeg4-qpel
index 3cba30d..0869eda 100644
--- a/tests/ref/fate/vsynth2-mpeg4-qpel
+++ b/tests/ref/fate/vsynth2-mpeg4-qpel
@@ -1,4 +1,4 @@
-7680d2e7d34399dfdfb8a49cf1e10239 *tests/data/fate/vsynth2-mpeg4-qpel.avi
-163688 tests/data/fate/vsynth2-mpeg4-qpel.avi
-26dc7c78955fa678fbf150e236eb5627 *tests/data/fate/vsynth2-mpeg4-qpel.out.rawvideo
+0e0aaf9c114eb8c60a4083b8a98ea7c7 *tests/data/fate/vsynth2-mpeg4-qpel.avi
+163674 tests/data/fate/vsynth2-mpeg4-qpel.avi
+e2ce994dbb66da51c2e1ad26617d7c2f *tests/data/fate/vsynth2-mpeg4-qpel.out.rawvideo
 stddev:    3.97 PSNR: 36.14 MAXDIFF:   54 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-qprd b/tests/ref/fate/vsynth2-mpeg4-qprd
index 87f5e02..8e69b3e 100644
--- a/tests/ref/fate/vsynth2-mpeg4-qprd
+++ b/tests/ref/fate/vsynth2-mpeg4-qprd
@@ -1,4 +1,4 @@
-fd5ab0f55dbc959316e32923e86290df *tests/data/fate/vsynth2-mpeg4-qprd.avi
-231458 tests/data/fate/vsynth2-mpeg4-qprd.avi
-de8a883865e2dff7a51f66da6c48df48 *tests/data/fate/vsynth2-mpeg4-qprd.out.rawvideo
+5aca88f3b6036515a1cdd41647395dc2 *tests/data/fate/vsynth2-mpeg4-qprd.avi
+231462 tests/data/fate/vsynth2-mpeg4-qprd.avi
+3071250e0864546c2455c9f9c9b8604e *tests/data/fate/vsynth2-mpeg4-qprd.out.rawvideo
 stddev:    3.71 PSNR: 36.72 MAXDIFF:   61 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-rc b/tests/ref/fate/vsynth2-mpeg4-rc
index bdd897b..4401f92 100644
--- a/tests/ref/fate/vsynth2-mpeg4-rc
+++ b/tests/ref/fate/vsynth2-mpeg4-rc
@@ -1,4 +1,4 @@
-c25ede9e268b834a09a63f5136cd1b95 *tests/data/fate/vsynth2-mpeg4-rc.avi
-226332 tests/data/fate/vsynth2-mpeg4-rc.avi
-2b34e606af895b62a250de98749a19b0 *tests/data/fate/vsynth2-mpeg4-rc.out.rawvideo
+8e4101a166eee52093ed687c62764d5e *tests/data/fate/vsynth2-mpeg4-rc.avi
+226322 tests/data/fate/vsynth2-mpeg4-rc.avi
+6e8b62e8c3bcbfdcc58afb69a0b1c4e3 *tests/data/fate/vsynth2-mpeg4-rc.out.rawvideo
 stddev:    4.23 PSNR: 35.60 MAXDIFF:   85 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-thread b/tests/ref/fate/vsynth2-mpeg4-thread
index e004009..664f89e 100644
--- a/tests/ref/fate/vsynth2-mpeg4-thread
+++ b/tests/ref/fate/vsynth2-mpeg4-thread
@@ -1,4 +1,4 @@
-ba30d10ff70d46e7c5b7fa859ea1faa4 *tests/data/fate/vsynth2-mpeg4-thread.avi
-250140 tests/data/fate/vsynth2-mpeg4-thread.avi
-5355deb8c7609a3f1ff2173aab1dee70 *tests/data/fate/vsynth2-mpeg4-thread.out.rawvideo
+9859aa7d322b639b07386980bc3f4797 *tests/data/fate/vsynth2-mpeg4-thread.avi
+250104 tests/data/fate/vsynth2-mpeg4-thread.avi
+045fe9f226bbcc3d41644bffaed03b31 *tests/data/fate/vsynth2-mpeg4-thread.out.rawvideo
 stddev:    3.69 PSNR: 36.78 MAXDIFF:   65 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-msmpeg4 b/tests/ref/fate/vsynth2-msmpeg4
index c65a9af..0656101 100644
--- a/tests/ref/fate/vsynth2-msmpeg4
+++ b/tests/ref/fate/vsynth2-msmpeg4
@@ -1,4 +1,4 @@
-26dee25a62a66daba4f38ac6bd8f4677 *tests/data/fate/vsynth2-msmpeg4.avi
-127680 tests/data/fate/vsynth2-msmpeg4.avi
-0e1c6e25c71c6a8fa8e506e3d97ca4c9 *tests/data/fate/vsynth2-msmpeg4.out.rawvideo
-stddev:    5.33 PSNR: 33.59 MAXDIFF:   78 bytes:  7603200/  7603200
+cc347c58bf116cdb09b0ce1d549fa989 *tests/data/fate/vsynth2-msmpeg4.avi
+127672 tests/data/fate/vsynth2-msmpeg4.avi
+bb14902d5850d6b0ab70fdb017855775 *tests/data/fate/vsynth2-msmpeg4.out.rawvideo
+stddev:    5.33 PSNR: 33.58 MAXDIFF:   78 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-msmpeg4v2 b/tests/ref/fate/vsynth2-msmpeg4v2
index d2b63d8..fe9cc4c 100644
--- a/tests/ref/fate/vsynth2-msmpeg4v2
+++ b/tests/ref/fate/vsynth2-msmpeg4v2
@@ -1,4 +1,4 @@
-c09815e40a9d260628e1ebad8b2b3774 *tests/data/fate/vsynth2-msmpeg4v2.avi
-129918 tests/data/fate/vsynth2-msmpeg4v2.avi
-8920194f8bf8f9cdd6c65b3df9e1a292 *tests/data/fate/vsynth2-msmpeg4v2.out.rawvideo
-stddev:    5.33 PSNR: 33.59 MAXDIFF:   80 bytes:  7603200/  7603200
+dc94a157743f7439b15e69d6a0737b8a *tests/data/fate/vsynth2-msmpeg4v2.avi
+129930 tests/data/fate/vsynth2-msmpeg4v2.avi
+537c114e1d47c54a4bccd31f4073e9bd *tests/data/fate/vsynth2-msmpeg4v2.out.rawvideo
+stddev:    5.33 PSNR: 33.59 MAXDIFF:   79 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-rv10 b/tests/ref/fate/vsynth2-rv10
index 7afe4fc..3fc93d9 100644
--- a/tests/ref/fate/vsynth2-rv10
+++ b/tests/ref/fate/vsynth2-rv10
@@ -1,4 +1,4 @@
-b1467b0e8d8cad730e36d1e8ab49d573 *tests/data/fate/vsynth2-rv10.rm
-154310 tests/data/fate/vsynth2-rv10.rm
-61213b91b359697ebcefb9e0a53ac54a *tests/data/fate/vsynth2-rv10.out.rawvideo
+33a2aae3351b0b2121f823057c0e226f *tests/data/fate/vsynth2-rv10.rm
+154321 tests/data/fate/vsynth2-rv10.rm
+b7d733ebedbaa04f49bf7493a907e223 *tests/data/fate/vsynth2-rv10.out.rawvideo
 stddev:    5.43 PSNR: 33.42 MAXDIFF:   77 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-rv20 b/tests/ref/fate/vsynth2-rv20
index a3440fa..1251e49 100644
--- a/tests/ref/fate/vsynth2-rv20
+++ b/tests/ref/fate/vsynth2-rv20
@@ -1,4 +1,4 @@
-96acb098850b9bf309f89e48b08fe96f *tests/data/fate/vsynth2-rv20.rm
-153302 tests/data/fate/vsynth2-rv20.rm
-46f314e70d9bac2e7d82cfc230534977 *tests/data/fate/vsynth2-rv20.out.rawvideo
+4d23a72fe7e29f98f38888804eacd111 *tests/data/fate/vsynth2-rv20.rm
+153304 tests/data/fate/vsynth2-rv20.rm
+6fa5dc1c2f00f858fc4895ad640891a2 *tests/data/fate/vsynth2-rv20.out.rawvideo
 stddev:    5.48 PSNR: 33.35 MAXDIFF:   81 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-wmv1 b/tests/ref/fate/vsynth2-wmv1
index 4545d42..7eb0fe6 100644
--- a/tests/ref/fate/vsynth2-wmv1
+++ b/tests/ref/fate/vsynth2-wmv1
@@ -1,4 +1,4 @@
-1011e26e7d351c96d7bbfe106d831b69 *tests/data/fate/vsynth2-wmv1.avi
-129530 tests/data/fate/vsynth2-wmv1.avi
-81eee429b665254d19a06607463c0b5e *tests/data/fate/vsynth2-wmv1.out.rawvideo
+0eef8e6c0bddcd7b60564e0dfcbcf461 *tests/data/fate/vsynth2-wmv1.avi
+129522 tests/data/fate/vsynth2-wmv1.avi
+dec44e3c04db4fef49a7728f164d9159 *tests/data/fate/vsynth2-wmv1.out.rawvideo
 stddev:    5.33 PSNR: 33.60 MAXDIFF:   77 bytes:  7603200/  7603200
diff --git a/tests/ref/fate/vsynth2-wmv2 b/tests/ref/fate/vsynth2-wmv2
index a7384ad..8d55a47 100644
--- a/tests/ref/fate/vsynth2-wmv2
+++ b/tests/ref/fate/vsynth2-wmv2
@@ -1,4 +1,4 @@
-1f6598e9776ed00aebdc44cc8d48cb7c *tests/data/fate/vsynth2-wmv2.avi
-129860 tests/data/fate/vsynth2-wmv2.avi
-81eee429b665254d19a06607463c0b5e *tests/data/fate/vsynth2-wmv2.out.rawvideo
+c68ca99473538064d9de3bdcc8f2e759 *tests/data/fate/vsynth2-wmv2.avi
+129846 tests/data/fate/vsynth2-wmv2.avi
+dec44e3c04db4fef49a7728f164d9159 *tests/data/fate/vsynth2-wmv2.out.rawvideo
 stddev:    5.33 PSNR: 33.60 MAXDIFF:   77 bytes:  7603200/  7603200
diff --git a/tests/ref/lavf/avi b/tests/ref/lavf/avi
index 819c4eb..056d0c7 100644
--- a/tests/ref/lavf/avi
+++ b/tests/ref/lavf/avi
@@ -1,3 +1,3 @@
-dbd400a0a791360ad87eb436829ddef9 *./tests/data/lavf/lavf.avi
-330816 ./tests/data/lavf/lavf.avi
-./tests/data/lavf/lavf.avi CRC=0xa79b84dd
+feb26a85f820ede7e521a55be565f3b1 *./tests/data/lavf/lavf.avi
+330806 ./tests/data/lavf/lavf.avi
+./tests/data/lavf/lavf.avi CRC=0x4780846b
diff --git a/tests/ref/lavf/ffm b/tests/ref/lavf/ffm
index 7453973..ce0dcdd 100644
--- a/tests/ref/lavf/ffm
+++ b/tests/ref/lavf/ffm
@@ -1,3 +1,3 @@
-0063b1b49d8641dcbf354092529a58a4 *./tests/data/lavf/lavf.ffm
+e6d8254af2b1ad1f58d60da4d80c6e96 *./tests/data/lavf/lavf.ffm
 376832 ./tests/data/lavf/lavf.ffm
-./tests/data/lavf/lavf.ffm CRC=0x88f58ba1
+./tests/data/lavf/lavf.ffm CRC=0x5b136bb1
diff --git a/tests/ref/lavf/flv_fmt b/tests/ref/lavf/flv_fmt
index 8688014..f014bec 100644
--- a/tests/ref/lavf/flv_fmt
+++ b/tests/ref/lavf/flv_fmt
@@ -1,3 +1,3 @@
-c8321cd5ae19a8853eea4a011656ff74 *./tests/data/lavf/lavf.flv
-329559 ./tests/data/lavf/lavf.flv
-./tests/data/lavf/lavf.flv CRC=0x881785d1
+0d229f87b3aad778074ace499359d137 *./tests/data/lavf/lavf.flv
+329554 ./tests/data/lavf/lavf.flv
+./tests/data/lavf/lavf.flv CRC=0x4eac88c5
diff --git a/tests/ref/lavf/gxf b/tests/ref/lavf/gxf
index f70b6d9..b242875 100644
--- a/tests/ref/lavf/gxf
+++ b/tests/ref/lavf/gxf
@@ -1,9 +1,9 @@
-befc1a39c37a4ecd9264942a3e34b3f6 *./tests/data/lavf/lavf.gxf
-796392 ./tests/data/lavf/lavf.gxf
-./tests/data/lavf/lavf.gxf CRC=0x102918fd
-474c4dd8b124790b395b435ac95a6d14 *./tests/data/lavf/lavf.gxf
-816772 ./tests/data/lavf/lavf.gxf
-./tests/data/lavf/lavf.gxf CRC=0xc7d66595
-0a1a37fa79b62435545271b4e8e882f5 *./tests/data/lavf/lavf.gxf
-796392 ./tests/data/lavf/lavf.gxf
-./tests/data/lavf/lavf.gxf CRC=0x3b1a8e91
+72e150dc3430a6a78656790658eb9a09 *./tests/data/lavf/lavf.gxf
+795876 ./tests/data/lavf/lavf.gxf
+./tests/data/lavf/lavf.gxf CRC=0xaee412d1
+cb6b1f522a9a8df145f55905c63a65b6 *./tests/data/lavf/lavf.gxf
+816752 ./tests/data/lavf/lavf.gxf
+./tests/data/lavf/lavf.gxf CRC=0xb73759d8
+e4721383461d7a9feae41435567c9257 *./tests/data/lavf/lavf.gxf
+795876 ./tests/data/lavf/lavf.gxf
+./tests/data/lavf/lavf.gxf CRC=0xd9d58865
diff --git a/tests/ref/lavf/ismv b/tests/ref/lavf/ismv
index 08d5552..c6651b5 100644
--- a/tests/ref/lavf/ismv
+++ b/tests/ref/lavf/ismv
@@ -1,9 +1,9 @@
-eb116b60befadfd5c9118635d81c5a6e *./tests/data/lavf/lavf.ismv
-312271 ./tests/data/lavf/lavf.ismv
-./tests/data/lavf/lavf.ismv CRC=0xbcc963fc
-456b04d243a2c45f820ee3cd6ed3ae3b *./tests/data/lavf/lavf.ismv
-331249 ./tests/data/lavf/lavf.ismv
-./tests/data/lavf/lavf.ismv CRC=0x5c2fddcd
-eb116b60befadfd5c9118635d81c5a6e *./tests/data/lavf/lavf.ismv
-312271 ./tests/data/lavf/lavf.ismv
-./tests/data/lavf/lavf.ismv CRC=0xbcc963fc
+a24a0426b5f8dc896daaf18502e38790 *./tests/data/lavf/lavf.ismv
+312263 ./tests/data/lavf/lavf.ismv
+./tests/data/lavf/lavf.ismv CRC=0x9d9a638a
+33d07ab6c5485d639e7052ccc73aeb70 *./tests/data/lavf/lavf.ismv
+331253 ./tests/data/lavf/lavf.ismv
+./tests/data/lavf/lavf.ismv CRC=0x2a63dc62
+a24a0426b5f8dc896daaf18502e38790 *./tests/data/lavf/lavf.ismv
+312263 ./tests/data/lavf/lavf.ismv
+./tests/data/lavf/lavf.ismv CRC=0x9d9a638a
diff --git a/tests/ref/lavf/jpg b/tests/ref/lavf/jpg
index 9e5be55..1309d74 100644
--- a/tests/ref/lavf/jpg
+++ b/tests/ref/lavf/jpg
@@ -1,3 +1,3 @@
 131878fee153a086d740543fbf2ab359 *./tests/data/images/jpg/02.jpg
-./tests/data/images/jpg/%02d.jpg CRC=0x8b019f23
+./tests/data/images/jpg/%02d.jpg CRC=0xe3509f33
 28406 ./tests/data/images/jpg/02.jpg
diff --git a/tests/ref/lavf/mkv b/tests/ref/lavf/mkv
index 576bd05..8820300 100644
--- a/tests/ref/lavf/mkv
+++ b/tests/ref/lavf/mkv
@@ -1,3 +1,3 @@
-d8e8858db2fe4920d19d4267059933d6 *./tests/data/lavf/lavf.mkv
-320305 ./tests/data/lavf/lavf.mkv
-./tests/data/lavf/lavf.mkv CRC=0xd86284dd
+796a3bbf2410e55e186367037bda6bb5 *./tests/data/lavf/lavf.mkv
+320297 ./tests/data/lavf/lavf.mkv
+./tests/data/lavf/lavf.mkv CRC=0x7065846b
diff --git a/tests/ref/lavf/mov b/tests/ref/lavf/mov
index a49904e..8925c34 100644
--- a/tests/ref/lavf/mov
+++ b/tests/ref/lavf/mov
@@ -1,12 +1,12 @@
-2c58e6422013d9cd6169f272ffba7a33 *./tests/data/lavf/lavf.mov
-367373 ./tests/data/lavf/lavf.mov
-./tests/data/lavf/lavf.mov CRC=0x2f6a9b26
-21b992f6a677f971dfd685cc055a2b0a *./tests/data/lavf/lavf.mov
-358463 ./tests/data/lavf/lavf.mov
-./tests/data/lavf/lavf.mov CRC=0x2f6a9b26
-f607c5ac4f2668149c064d75a4ddd0dd *./tests/data/lavf/lavf.mov
-377609 ./tests/data/lavf/lavf.mov
-./tests/data/lavf/lavf.mov CRC=0x4e671506
-305a68397e3cdb505704841fedcdc352 *./tests/data/lavf/lavf.mov
-357845 ./tests/data/lavf/lavf.mov
-./tests/data/lavf/lavf.mov CRC=0x2f6a9b26
+0e5013f259148938ac771186308318db *./tests/data/lavf/lavf.mov
+367365 ./tests/data/lavf/lavf.mov
+./tests/data/lavf/lavf.mov CRC=0xb2f59ab4
+b65574e7f8c97dacd6618c48ff781e78 *./tests/data/lavf/lavf.mov
+358455 ./tests/data/lavf/lavf.mov
+./tests/data/lavf/lavf.mov CRC=0xb2f59ab4
+b1c7bd0a8e1b16ea7be57aa478b6623d *./tests/data/lavf/lavf.mov
+377613 ./tests/data/lavf/lavf.mov
+./tests/data/lavf/lavf.mov CRC=0xc882139b
+e6863243127556a840cdfd19e477fe7d *./tests/data/lavf/lavf.mov
+357837 ./tests/data/lavf/lavf.mov
+./tests/data/lavf/lavf.mov CRC=0xb2f59ab4
diff --git a/tests/ref/lavf/mpg b/tests/ref/lavf/mpg
index 8b3ca5a..c880fe6 100644
--- a/tests/ref/lavf/mpg
+++ b/tests/ref/lavf/mpg
@@ -1,9 +1,9 @@
-8d47f1d92230442d475477ed4ec0c778 *./tests/data/lavf/lavf.mpg
+bba1d30df5e8309c8eac70722014ad92 *./tests/data/lavf/lavf.mpg
 372736 ./tests/data/lavf/lavf.mpg
-./tests/data/lavf/lavf.mpg CRC=0x88f58ba1
-a0510a6f6ad056882827a2d2a92fd537 *./tests/data/lavf/lavf.mpg
+./tests/data/lavf/lavf.mpg CRC=0x5b136bb1
+f716380af800eb85112ba87c99845ac0 *./tests/data/lavf/lavf.mpg
 399360 ./tests/data/lavf/lavf.mpg
-./tests/data/lavf/lavf.mpg CRC=0x93df648f
-af32acbc73ee486b05a37d53e516d5e7 *./tests/data/lavf/lavf.mpg
+./tests/data/lavf/lavf.mpg CRC=0xd21e5631
+e396acf92df0c0b8753f54a15b5770ae *./tests/data/lavf/lavf.mpg
 372736 ./tests/data/lavf/lavf.mpg
-./tests/data/lavf/lavf.mpg CRC=0x88f58ba1
+./tests/data/lavf/lavf.mpg CRC=0x5b136bb1
diff --git a/tests/ref/lavf/mxf b/tests/ref/lavf/mxf
index 2253329..d8aeb4a 100644
--- a/tests/ref/lavf/mxf
+++ b/tests/ref/lavf/mxf
@@ -1,9 +1,9 @@
-4cc269e1d2066fac03a3d7466f011c8e *./tests/data/lavf/lavf.mxf
-525881 ./tests/data/lavf/lavf.mxf
-./tests/data/lavf/lavf.mxf CRC=0x4ace0849
-88ab06201db1953329bfb4aa04a4fe05 *./tests/data/lavf/lavf.mxf
-553529 ./tests/data/lavf/lavf.mxf
-./tests/data/lavf/lavf.mxf CRC=0xdb9bdf92
-52c5b74ecfdc48bd77d79a6bbe62d2de *./tests/data/lavf/lavf.mxf
-525881 ./tests/data/lavf/lavf.mxf
-./tests/data/lavf/lavf.mxf CRC=0x4ace0849
+3fb5387504760db6ebbed106fcda5789 *./tests/data/lavf/lavf.mxf
+525369 ./tests/data/lavf/lavf.mxf
+./tests/data/lavf/lavf.mxf CRC=0x17ce1069
+830a8b9ee58781bf654c55905067cdae *./tests/data/lavf/lavf.mxf
+554553 ./tests/data/lavf/lavf.mxf
+./tests/data/lavf/lavf.mxf CRC=0xa3c0dbc4
+10c6ae1bd97c851728c9abad9dddfa2e *./tests/data/lavf/lavf.mxf
+525369 ./tests/data/lavf/lavf.mxf
+./tests/data/lavf/lavf.mxf CRC=0x17ce1069
diff --git a/tests/ref/lavf/mxf_d10 b/tests/ref/lavf/mxf_d10
index efe861a..8e08bdd 100644
--- a/tests/ref/lavf/mxf_d10
+++ b/tests/ref/lavf/mxf_d10
@@ -1,3 +1,3 @@
-93237916962c1ecacc8ae3b9e97481fb *./tests/data/lavf/lavf.mxf_d10
+28cf73e6d35a8f7aba30c0ed2bd84924 *./tests/data/lavf/lavf.mxf_d10
 5330989 ./tests/data/lavf/lavf.mxf_d10
-./tests/data/lavf/lavf.mxf_d10 CRC=0x4474d480
+./tests/data/lavf/lavf.mxf_d10 CRC=0x6c74d488
diff --git a/tests/ref/lavf/nut b/tests/ref/lavf/nut
index 8d72902..81d07d7 100644
--- a/tests/ref/lavf/nut
+++ b/tests/ref/lavf/nut
@@ -1,3 +1,3 @@
-988938b67d1da215f71233d337eb9714 *./tests/data/lavf/lavf.nut
-319756 ./tests/data/lavf/lavf.nut
-./tests/data/lavf/lavf.nut CRC=0xa79b84dd
+778e33e75965f1cb7b419a253ccd0ed8 *./tests/data/lavf/lavf.nut
+319748 ./tests/data/lavf/lavf.nut
+./tests/data/lavf/lavf.nut CRC=0x4780846b
diff --git a/tests/ref/lavf/rm b/tests/ref/lavf/rm
index a9deabe..2c05806 100644
--- a/tests/ref/lavf/rm
+++ b/tests/ref/lavf/rm
@@ -1,2 +1,2 @@
-a13a746ded146a9ede1605e5155e7164 *./tests/data/lavf/lavf.rm
-346422 ./tests/data/lavf/lavf.rm
+85ef42a1fdeffaf083d14b633bbd697f *./tests/data/lavf/lavf.rm
+346424 ./tests/data/lavf/lavf.rm
diff --git a/tests/ref/lavf/swf b/tests/ref/lavf/swf
index 1e07793..7ce0fa4 100644
--- a/tests/ref/lavf/swf
+++ b/tests/ref/lavf/swf
@@ -1,3 +1,3 @@
-62c5aeb636fc82cf6ba6277d36e42cb5 *./tests/data/lavf/lavf.swf
-329479 ./tests/data/lavf/lavf.swf
-./tests/data/lavf/lavf.swf CRC=0x881785d1
+11e9e9bf99a0ae6a0ba5434b745eae21 *./tests/data/lavf/lavf.swf
+329474 ./tests/data/lavf/lavf.swf
+./tests/data/lavf/lavf.swf CRC=0x4eac88c5
diff --git a/tests/ref/lavf/ts b/tests/ref/lavf/ts
index 5215e21..0cab3dd 100644
--- a/tests/ref/lavf/ts
+++ b/tests/ref/lavf/ts
@@ -1,3 +1,3 @@
-be30cf5903b9da47024c783767966804 *./tests/data/lavf/lavf.ts
-406456 ./tests/data/lavf/lavf.ts
-./tests/data/lavf/lavf.ts CRC=0x64fab4df
+4531d0f4a80d5a2ee2b08a8d4ba3b442 *./tests/data/lavf/lavf.ts
+407020 ./tests/data/lavf/lavf.ts
+./tests/data/lavf/lavf.ts CRC=0xcc2dc628
diff --git a/tests/ref/lavf/wtv b/tests/ref/lavf/wtv
index d50f1ca..24cf15d 100644
--- a/tests/ref/lavf/wtv
+++ b/tests/ref/lavf/wtv
@@ -1,3 +1,3 @@
-451f7e3ed8af12e4edb5b4de51181a4e *./tests/data/lavf/lavf.wtv
+05aff2517b5bd436ec26c736b4b8372c *./tests/data/lavf/lavf.wtv
 413696 ./tests/data/lavf/lavf.wtv
-./tests/data/lavf/lavf.wtv CRC=0x64fab4df
+./tests/data/lavf/lavf.wtv CRC=0xcc2dc628
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list