[FFmpeg-cvslog] avformat/movenc: ensure we don't write the major brand as a compatible brand more than once

James Almer git at videolan.org
Sat Dec 21 16:59:05 EET 2019


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Dec  1 13:10:48 2019 -0300| [245ace4e2d3f3ecccb5501c7830b05c2cfa6a663] | committer: James Almer

avformat/movenc: ensure we don't write the major brand as a compatible brand more than once

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=245ace4e2d3f3ecccb5501c7830b05c2cfa6a663
---

 libavformat/movenc.c                               | 32 +++++++----
 tests/ref/acodec/alac                              |  4 +-
 tests/ref/acodec/pcm-s16be                         |  4 +-
 tests/ref/acodec/pcm-s24be                         |  4 +-
 tests/ref/acodec/pcm-s32be                         |  4 +-
 tests/ref/acodec/pcm-s8                            |  4 +-
 tests/ref/fate/adtstoasc_ticket3715                |  4 +-
 tests/ref/fate/binsub-movtextenc                   |  2 +-
 tests/ref/fate/copy-trac236                        |  4 +-
 tests/ref/fate/copy-trac3074                       |  4 +-
 .../hapqa-extract-nosnappy-to-hapalphaonly-mov     |  2 +-
 tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov  |  2 +-
 tests/ref/fate/movenc                              | 64 +++++++++++-----------
 tests/ref/fate/prores-metadata                     |  2 +-
 tests/ref/lavf-fate/av1.mp4                        |  4 +-
 tests/ref/lavf-fate/h264.mp4                       |  4 +-
 tests/ref/lavf-fate/qtrle_mace6.mov                |  4 +-
 tests/ref/lavf/mov                                 | 12 ++--
 tests/ref/lavf/mov_rtphint                         |  4 +-
 tests/ref/lavf/mp4                                 | 12 ++--
 tests/ref/seek/acodec-alac                         | 54 +++++++++---------
 tests/ref/seek/acodec-pcm-s16be                    | 54 +++++++++---------
 tests/ref/seek/acodec-pcm-s24be                    | 54 +++++++++---------
 tests/ref/seek/acodec-pcm-s32be                    | 54 +++++++++---------
 tests/ref/seek/acodec-pcm-s8                       | 54 +++++++++---------
 tests/ref/seek/lavf-mov                            | 44 +++++++--------
 tests/ref/seek/vsynth_lena-dnxhd-1080i             | 36 ++++++------
 tests/ref/seek/vsynth_lena-mpeg4                   | 48 ++++++++--------
 tests/ref/seek/vsynth_lena-svq1                    | 48 ++++++++--------
 tests/ref/vsynth/vsynth1-avui                      |  4 +-
 tests/ref/vsynth/vsynth1-dnxhd-1080i               |  4 +-
 tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit         |  4 +-
 tests/ref/vsynth/vsynth1-dnxhd-1080i-colr          |  4 +-
 tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov           |  4 +-
 tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov           |  4 +-
 tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov           |  4 +-
 tests/ref/vsynth/vsynth1-mov-bgr24                 |  4 +-
 tests/ref/vsynth/vsynth1-mov-bpp15                 |  4 +-
 tests/ref/vsynth/vsynth1-mov-bpp16                 |  4 +-
 tests/ref/vsynth/vsynth1-mpeg4                     |  4 +-
 tests/ref/vsynth/vsynth1-prores                    |  4 +-
 tests/ref/vsynth/vsynth1-prores_444                |  4 +-
 tests/ref/vsynth/vsynth1-prores_444_int            |  4 +-
 tests/ref/vsynth/vsynth1-prores_int                |  4 +-
 tests/ref/vsynth/vsynth1-prores_ks                 |  4 +-
 tests/ref/vsynth/vsynth1-qtrle                     |  4 +-
 tests/ref/vsynth/vsynth1-qtrlegray                 |  4 +-
 tests/ref/vsynth/vsynth1-svq1                      |  4 +-
 tests/ref/vsynth/vsynth1-vc2-420p                  |  4 +-
 tests/ref/vsynth/vsynth1-vc2-420p10                |  4 +-
 tests/ref/vsynth/vsynth1-vc2-420p12                |  4 +-
 tests/ref/vsynth/vsynth1-vc2-422p                  |  4 +-
 tests/ref/vsynth/vsynth1-vc2-422p10                |  4 +-
 tests/ref/vsynth/vsynth1-vc2-422p12                |  4 +-
 tests/ref/vsynth/vsynth1-vc2-444p                  |  4 +-
 tests/ref/vsynth/vsynth1-vc2-444p10                |  4 +-
 tests/ref/vsynth/vsynth1-vc2-444p12                |  4 +-
 tests/ref/vsynth/vsynth1-vc2-t5_3                  |  4 +-
 tests/ref/vsynth/vsynth1-vc2-thaar                 |  4 +-
 tests/ref/vsynth/vsynth2-avui                      |  4 +-
 tests/ref/vsynth/vsynth2-dnxhd-1080i               |  4 +-
 tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit         |  4 +-
 tests/ref/vsynth/vsynth2-dnxhd-1080i-colr          |  4 +-
 tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov           |  4 +-
 tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov           |  4 +-
 tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov           |  4 +-
 tests/ref/vsynth/vsynth2-mov-bgr24                 |  4 +-
 tests/ref/vsynth/vsynth2-mov-bpp15                 |  4 +-
 tests/ref/vsynth/vsynth2-mov-bpp16                 |  4 +-
 tests/ref/vsynth/vsynth2-mpeg4                     |  4 +-
 tests/ref/vsynth/vsynth2-prores                    |  4 +-
 tests/ref/vsynth/vsynth2-prores_444                |  4 +-
 tests/ref/vsynth/vsynth2-prores_444_int            |  4 +-
 tests/ref/vsynth/vsynth2-prores_int                |  4 +-
 tests/ref/vsynth/vsynth2-prores_ks                 |  4 +-
 tests/ref/vsynth/vsynth2-qtrle                     |  4 +-
 tests/ref/vsynth/vsynth2-qtrlegray                 |  4 +-
 tests/ref/vsynth/vsynth2-svq1                      |  4 +-
 tests/ref/vsynth/vsynth2-vc2-420p                  |  4 +-
 tests/ref/vsynth/vsynth2-vc2-420p10                |  4 +-
 tests/ref/vsynth/vsynth2-vc2-420p12                |  4 +-
 tests/ref/vsynth/vsynth2-vc2-422p                  |  4 +-
 tests/ref/vsynth/vsynth2-vc2-422p10                |  4 +-
 tests/ref/vsynth/vsynth2-vc2-422p12                |  4 +-
 tests/ref/vsynth/vsynth2-vc2-444p                  |  4 +-
 tests/ref/vsynth/vsynth2-vc2-444p10                |  4 +-
 tests/ref/vsynth/vsynth2-vc2-444p12                |  4 +-
 tests/ref/vsynth/vsynth2-vc2-t5_3                  |  4 +-
 tests/ref/vsynth/vsynth2-vc2-thaar                 |  4 +-
 tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit         |  4 +-
 tests/ref/vsynth/vsynth3-dnxhd-1080i-colr          |  4 +-
 tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov           |  4 +-
 tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov           |  4 +-
 tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov           |  4 +-
 tests/ref/vsynth/vsynth3-mov-bgr24                 |  4 +-
 tests/ref/vsynth/vsynth3-mov-bpp15                 |  4 +-
 tests/ref/vsynth/vsynth3-mov-bpp16                 |  4 +-
 tests/ref/vsynth/vsynth3-mpeg4                     |  4 +-
 tests/ref/vsynth/vsynth3-prores                    |  4 +-
 tests/ref/vsynth/vsynth3-prores_444                |  4 +-
 tests/ref/vsynth/vsynth3-prores_444_int            |  4 +-
 tests/ref/vsynth/vsynth3-prores_int                |  4 +-
 tests/ref/vsynth/vsynth3-prores_ks                 |  4 +-
 tests/ref/vsynth/vsynth3-qtrle                     |  4 +-
 tests/ref/vsynth/vsynth3-svq1                      |  4 +-
 tests/ref/vsynth/vsynth_lena-avui                  |  4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-1080i           |  4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit     |  4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr      |  4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov       |  4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov       |  4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov       |  4 +-
 tests/ref/vsynth/vsynth_lena-mov-bgr24             |  4 +-
 tests/ref/vsynth/vsynth_lena-mov-bpp15             |  4 +-
 tests/ref/vsynth/vsynth_lena-mov-bpp16             |  4 +-
 tests/ref/vsynth/vsynth_lena-mpeg4                 |  4 +-
 tests/ref/vsynth/vsynth_lena-prores                |  4 +-
 tests/ref/vsynth/vsynth_lena-prores_444            |  4 +-
 tests/ref/vsynth/vsynth_lena-prores_444_int        |  4 +-
 tests/ref/vsynth/vsynth_lena-prores_int            |  4 +-
 tests/ref/vsynth/vsynth_lena-prores_ks             |  4 +-
 tests/ref/vsynth/vsynth_lena-qtrle                 |  4 +-
 tests/ref/vsynth/vsynth_lena-qtrlegray             |  4 +-
 tests/ref/vsynth/vsynth_lena-svq1                  |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-420p              |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-420p10            |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-420p12            |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-422p              |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-422p10            |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-422p12            |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-444p              |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-444p10            |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-444p12            |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-t5_3              |  4 +-
 tests/ref/vsynth/vsynth_lena-vc2-thaar             |  4 +-
 135 files changed, 529 insertions(+), 517 deletions(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index c13578e13f..907d0a049f 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -4801,20 +4801,32 @@ static int mov_write_ftyp_tag(AVIOContext *pb, AVFormatContext *s)
     // Write the major brand as the first compatible brand as well
     mov_write_ftyp_tag_internal(pb, s, has_h264, has_video, 0);
 
+    // Write compatible brands, ensuring that we don't write the major brand as a
+    // compatible brand a second time.
     if (mov->mode == MODE_ISM) {
         ffio_wfourcc(pb, "piff");
-    } else if (!(mov->flags & FF_MOV_FLAG_DEFAULT_BASE_MOOF)) {
-        ffio_wfourcc(pb, "isom");
-        ffio_wfourcc(pb, "iso2");
-        if (has_h264)
-            ffio_wfourcc(pb, "avc1");
+    } else if (mov->mode != MODE_MOV) {
+        // We add tfdt atoms when fragmenting, signal this with the iso6 compatible
+        // brand. This is compatible with users that don't understand tfdt.
+        if (mov->flags & FF_MOV_FLAG_FRAGMENT)
+            ffio_wfourcc(pb, "iso6");
+        if (mov->mode != MODE_MP4) {
+            if (mov->flags & FF_MOV_FLAG_DEFAULT_BASE_MOOF)
+                ffio_wfourcc(pb, "iso5");
+            else if (mov->flags & FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS)
+                ffio_wfourcc(pb, "iso4");
+        }
+        // Brands prior to iso5 can't be signaled when using default-base-is-moof
+        if (!(mov->flags & FF_MOV_FLAG_DEFAULT_BASE_MOOF)) {
+            // write isom for mp4 only if it it's not the major brand already.
+            if (mov->mode != MODE_MP4 || mov->flags & FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS)
+                ffio_wfourcc(pb, "isom");
+            ffio_wfourcc(pb, "iso2");
+            if (has_h264)
+                ffio_wfourcc(pb, "avc1");
+        }
     }
 
-    // We add tfdt atoms when fragmenting, signal this with the iso6 compatible
-    // brand. This is compatible with users that don't understand tfdt.
-    if (mov->flags & FF_MOV_FLAG_FRAGMENT && mov->mode != MODE_ISM)
-        ffio_wfourcc(pb, "iso6");
-
     if (mov->mode == MODE_MP4)
         ffio_wfourcc(pb, "mp41");
 
diff --git a/tests/ref/acodec/alac b/tests/ref/acodec/alac
index d9aa45f927..da2a84a880 100644
--- a/tests/ref/acodec/alac
+++ b/tests/ref/acodec/alac
@@ -1,4 +1,4 @@
-6effc04c1296809c85842bab626db253 *tests/data/fate/acodec-alac.mov
-389026 tests/data/fate/acodec-alac.mov
+61b22c509780e86dfb2fd1be816d8c68 *tests/data/fate/acodec-alac.mov
+389018 tests/data/fate/acodec-alac.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-alac.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s16be b/tests/ref/acodec/pcm-s16be
index 91d72945ef..2c051ce616 100644
--- a/tests/ref/acodec/pcm-s16be
+++ b/tests/ref/acodec/pcm-s16be
@@ -1,4 +1,4 @@
-9bc45c84b142078974f5fb161712d64b *tests/data/fate/acodec-pcm-s16be.mov
-1059077 tests/data/fate/acodec-pcm-s16be.mov
+5acf4268c4c4485ab79893f5e2f24e26 *tests/data/fate/acodec-pcm-s16be.mov
+1059069 tests/data/fate/acodec-pcm-s16be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s24be b/tests/ref/acodec/pcm-s24be
index 25079d6633..e36b503d75 100644
--- a/tests/ref/acodec/pcm-s24be
+++ b/tests/ref/acodec/pcm-s24be
@@ -1,4 +1,4 @@
-6b15154b380a7687caf0fc97fb712520 *tests/data/fate/acodec-pcm-s24be.mov
-1588331 tests/data/fate/acodec-pcm-s24be.mov
+62e578b2e3e115a228e1ebfceeeb65c2 *tests/data/fate/acodec-pcm-s24be.mov
+1588323 tests/data/fate/acodec-pcm-s24be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s24be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s32be b/tests/ref/acodec/pcm-s32be
index 670605d0b2..128187362c 100644
--- a/tests/ref/acodec/pcm-s32be
+++ b/tests/ref/acodec/pcm-s32be
@@ -1,4 +1,4 @@
-5d95990d719c1d80094ac447aca38e33 *tests/data/fate/acodec-pcm-s32be.mov
-2117535 tests/data/fate/acodec-pcm-s32be.mov
+2a4d853ef4916ca5081fafe234d18596 *tests/data/fate/acodec-pcm-s32be.mov
+2117527 tests/data/fate/acodec-pcm-s32be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s32be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s8 b/tests/ref/acodec/pcm-s8
index 7fc4685383..9e9f4172b7 100644
--- a/tests/ref/acodec/pcm-s8
+++ b/tests/ref/acodec/pcm-s8
@@ -1,4 +1,4 @@
-b063cb6545cbf00e2767a2a1b6019e12 *tests/data/fate/acodec-pcm-s8.mov
-529861 tests/data/fate/acodec-pcm-s8.mov
+65f02f9b48be05cf7b4d104c8a9d3566 *tests/data/fate/acodec-pcm-s8.mov
+529853 tests/data/fate/acodec-pcm-s8.mov
 652edf30f35ad89bf27bcc9d2f9c7b53 *tests/data/fate/acodec-pcm-s8.out.wav
 stddev:  147.89 PSNR: 52.93 MAXDIFF:  255 bytes:  1058400/  1058400
diff --git a/tests/ref/fate/adtstoasc_ticket3715 b/tests/ref/fate/adtstoasc_ticket3715
index 657898e1b4..49fa3eb8d9 100644
--- a/tests/ref/fate/adtstoasc_ticket3715
+++ b/tests/ref/fate/adtstoasc_ticket3715
@@ -1,5 +1,5 @@
-cdb20dd801cd2458ef14d3bdfbb2fe14 *tests/data/fate/adtstoasc_ticket3715.mov
-33332 tests/data/fate/adtstoasc_ticket3715.mov
+4110be924e21846d0e174fac679b062e *tests/data/fate/adtstoasc_ticket3715.mov
+33324 tests/data/fate/adtstoasc_ticket3715.mov
 #extradata 0:        2, 0x00340022
 #tb 0: 1/44100
 #media_type 0: audio
diff --git a/tests/ref/fate/binsub-movtextenc b/tests/ref/fate/binsub-movtextenc
index f98dab703e..78c05f4376 100644
--- a/tests/ref/fate/binsub-movtextenc
+++ b/tests/ref/fate/binsub-movtextenc
@@ -1 +1 @@
-259cc7794d438acff479eff693a72d06
+35adf776cd73e808186ae7124445f4b8
diff --git a/tests/ref/fate/copy-trac236 b/tests/ref/fate/copy-trac236
index bab8865093..1583ae5704 100644
--- a/tests/ref/fate/copy-trac236
+++ b/tests/ref/fate/copy-trac236
@@ -1,5 +1,5 @@
-69f8fe93505811e703936d3144a71dbe *tests/data/fate/copy-trac236.mov
-630868 tests/data/fate/copy-trac236.mov
+984a33c6292e3d35e2cfdfbf66d8e82b *tests/data/fate/copy-trac236.mov
+630860 tests/data/fate/copy-trac236.mov
 #tb 0: 100/2997
 #media_type 0: video
 #codec_id 0: rawvideo
diff --git a/tests/ref/fate/copy-trac3074 b/tests/ref/fate/copy-trac3074
index c6ffda5487..ff66900253 100644
--- a/tests/ref/fate/copy-trac3074
+++ b/tests/ref/fate/copy-trac3074
@@ -1,5 +1,5 @@
-15c0e65a78c9f6646b2ca13cfe475d35 *tests/data/fate/copy-trac3074.mp4
-333996 tests/data/fate/copy-trac3074.mp4
+f92a201033712bda262f1e071e25544a *tests/data/fate/copy-trac3074.mp4
+333992 tests/data/fate/copy-trac3074.mp4
 #tb 0: 1/48000
 #media_type 0: audio
 #codec_id 0: eac3
diff --git a/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov b/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov
index 5ba9acbe2f..eacb1f1910 100644
--- a/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov
+++ b/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov
@@ -10,7 +10,7 @@ duration_time=0.040000
 convergence_duration=N/A
 convergence_duration_time=N/A
 size=4612
-pos=44
+pos=36
 flags=K_
 data_hash=adler32:ed83c166
 [/PACKET]
diff --git a/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov b/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov
index b85e9d06f1..ff96888f41 100644
--- a/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov
+++ b/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov
@@ -10,7 +10,7 @@ duration_time=0.040000
 convergence_duration=N/A
 convergence_duration_time=N/A
 size=9220
-pos=44
+pos=36
 flags=K_
 data_hash=adler32:b3ccc147
 [/PACKET]
diff --git a/tests/ref/fate/movenc b/tests/ref/fate/movenc
index 65ad921c80..68ce3f6cd9 100644
--- a/tests/ref/fate/movenc
+++ b/tests/ref/fate/movenc
@@ -1,18 +1,18 @@
-write_data len 40, time nopts, type header atom ftyp
+write_data len 36, time nopts, type header atom ftyp
 write_data len 2389, time nopts, type header atom -
 write_data len 788, time 1000000, type sync atom moof
 write_data len 110, time nopts, type trailer atom -
-8243f1d6c158774341c314e823ccc6da 3327 non-empty-moov
-write_data len 40, time nopts, type header atom ftyp
+66cf48604f039aa9a51711786f5c8778 3323 non-empty-moov
+write_data len 36, time nopts, type header atom ftyp
 write_data len 2721, time nopts, type header atom -
 write_data len 908, time 966667, type sync atom moof
 write_data len 110, time nopts, type trailer atom -
-312cfc1e6b04df742011fdbe08aace93 3779 non-empty-moov-elst
-write_data len 40, time nopts, type header atom ftyp
+04b2e86f455af94f9258b8d66dbf71f5 3775 non-empty-moov-elst
+write_data len 36, time nopts, type header atom ftyp
 write_data len 2629, time nopts, type header atom -
 write_data len 908, time 1000000, type sync atom moof
 write_data len 110, time nopts, type trailer atom -
-82db45522bd9e4ac897cc7903a787adb 3687 non-empty-moov-no-elst
+e9f6fa032d6d8265d67aef5de81a48bf 3683 non-empty-moov-no-elst
 write_data len 24, time nopts, type header atom ftyp
 write_data len 1171, time nopts, type header atom -
 write_data len 728, time 0, type sync atom moof
@@ -21,55 +21,55 @@ write_data len 728, time 1046439, type sync atom moof
 write_data len 812, time nopts, type unknown atom -
 write_data len 148, time nopts, type trailer atom -
 a7c93f998e88fee1159580b6ca7e3d2b 4439 ismv
-write_data len 40, time nopts, type header atom ftyp
+write_data len 36, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
 write_data len 796, time 0, type sync atom moof
 write_data len 788, time 1000000, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-4bfb3a87b205515b6c9774c00b2acef6 2895 empty-moov
-write_data len 40, time nopts, type header atom ftyp
+e6a4b15443d006efd727a80f6624b7db 2891 empty-moov
+write_data len 36, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
 write_data len 1068, time 0, type sync atom moof
 write_data len 908, time 1000000, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-cfe8c3625ccd01c05cea23165e784eae 3287 empty-moov-no-elst
-write_data len 40, time nopts, type header atom ftyp
+800f854aff2ac76dfaddebd0562c75b9 3283 empty-moov-no-elst
+write_data len 36, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
 write_data len 900, time -33333, type sync atom moof
 write_data len 908, time 966667, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-08dc75b3355921541aa41642a0308423 3119 empty-moov-no-elst-no-adjust
-write_data len 1163, time nopts, type header atom ftyp
+eca1a945c9063dab0858af6b85925533 3115 empty-moov-no-elst-no-adjust
+write_data len 1159, time nopts, type header atom ftyp
 write_data len 796, time 0, type sync atom moof
 write_data len 788, time 1000000, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-4bfb3a87b205515b6c9774c00b2acef6 2895 delay-moov
-write_data len 1235, time nopts, type header atom ftyp
+e6a4b15443d006efd727a80f6624b7db 2891 delay-moov
+write_data len 1231, time nopts, type header atom ftyp
 write_data len 916, time -33333, type sync atom moof
 write_data len 908, time 966667, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-cda02de9fb30275161e92fb64077db64 3207 delay-moov-elst
-write_data len 1199, time nopts, type header atom ftyp
+c2ecdbc80668fcee73f5a039e2dba579 3203 delay-moov-elst
+write_data len 1195, time nopts, type header atom ftyp
 write_data len 836, time 0, type sync atom moof
 write_data len 67, time nopts, type trailer atom -
-299920e7c17047d5959facf281578d53 2102 delay-moov-empty-track
-write_data len 1199, time nopts, type header atom ftyp
+95d6f59a7354b0cfe7ce49927baada4e 2098 delay-moov-empty-track
+write_data len 1195, time nopts, type header atom ftyp
 write_data len 360, time 0, type sync atom moof
 write_data len 360, time 1000000, type sync atom moof
 write_data len 86, time nopts, type trailer atom -
-f59b3dfa047519167f69dc61b1fd2f30 2005 delay-moov-empty-track-flush
-write_data len 40, time nopts, type header atom ftyp
+8805d72a27b340ea229c16edde78f974 2001 delay-moov-empty-track-flush
+write_data len 36, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
-0954dede2090f563fcf6a8141f2b67ec 1163 empty-moov-header
+351ae2c8b6d35d98b4848c309cce6704 1159 empty-moov-header
 write_data len 796, time 0, type sync atom moof
 write_data len 788, time 1000000, type sync atom moof
-f233dae46d68bf452a760de6ece9eca0 1584 empty-moov-content
+a0165f4a26a409212b0946e981bdefb9 1584 empty-moov-content
 write_data len 148, time nopts, type trailer atom -
-write_data len 1163, time nopts, type header atom ftyp
-0954dede2090f563fcf6a8141f2b67ec 1163 delay-moov-header
+write_data len 1159, time nopts, type header atom ftyp
+351ae2c8b6d35d98b4848c309cce6704 1159 delay-moov-header
 write_data len 796, time 0, type sync atom moof
 write_data len 788, time 1000000, type sync atom moof
-f233dae46d68bf452a760de6ece9eca0 1584 delay-moov-content
+a0165f4a26a409212b0946e981bdefb9 1584 delay-moov-content
 write_data len 148, time nopts, type trailer atom -
 write_data len 28, time nopts, type header atom -
 write_data len 1123, time nopts, type header atom -
@@ -123,7 +123,7 @@ write_data len 2572, time -333333, type sync atom sidx
 write_data len 996, time 5166667, type sync atom sidx
 write_data len 148, time nopts, type trailer atom -
 c3eb39921c90724784d1ab84fac58b34 4939 vfr-noduration
-write_data len 1235, time nopts, type header atom ftyp
+write_data len 1231, time nopts, type header atom ftyp
 write_data len 1500, time -333333, type sync atom moof
 write_data len 1500, time nopts, type unknown atom -
 write_data len 916, time nopts, type unknown atom -
@@ -131,23 +131,23 @@ write_data len 1500, time 9666667, type sync atom moof
 write_data len 1500, time nopts, type unknown atom -
 write_data len 1004, time nopts, type unknown atom -
 write_data len 148, time nopts, type trailer atom -
-18955d03e6095f4edd38023320a101b6 9303 large_frag
-write_data len 1235, time nopts, type header atom ftyp
+5bde1358e246e715b2096daa321c9f1b 9299 large_frag
+write_data len 1231, time nopts, type header atom ftyp
 write_data len 684, time -33333, type sync atom moof
 write_data len 504, time 800000, type boundary atom moof
 write_data len 420, time 1266667, type boundary atom moof
 write_data len 668, time 1566667, type sync atom moof
 write_data len 440, time 2233333, type boundary atom moof
 write_data len 262, time nopts, type trailer atom -
-6be0707df5a18d56404a6d7b750cb8ee 4213 vfr-noduration-interleave
+47cc2460c4b18390c67991cf3251409b 4209 vfr-noduration-interleave
 write_data len 1235, time nopts, type header atom ftyp
 write_data len 916, time 0, type sync atom moof
 write_data len 908, time 1000000, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-8175f4ba3f1a210465531879356e0222 3207 delay-moov-elst-neg-cts
+c272739705fb78f9d9bffd4c6376c8ce 3207 delay-moov-elst-neg-cts
 write_data len 40, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
 write_data len 1188, time 0, type sync atom moof
 write_data len 908, time 1033333, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-32a0512e2e5dd46cd7646f25d0e4c55a 3407 empty-moov-neg-cts
+26c05cd931471319def6f3d5257a6a7a 3407 empty-moov-neg-cts
diff --git a/tests/ref/fate/prores-metadata b/tests/ref/fate/prores-metadata
index ab71f8d082..56153c3946 100644
--- a/tests/ref/fate/prores-metadata
+++ b/tests/ref/fate/prores-metadata
@@ -1 +1 @@
-bd429065eed6a374b01e067ef36f6b0b
+3492734b4bd0dd097cd9f264457c8345
diff --git a/tests/ref/lavf-fate/av1.mp4 b/tests/ref/lavf-fate/av1.mp4
index e50d0b7c1e..38d2a80afe 100644
--- a/tests/ref/lavf-fate/av1.mp4
+++ b/tests/ref/lavf-fate/av1.mp4
@@ -1,3 +1,3 @@
-43c80428467ecc59395db716412730fc *tests/data/lavf-fate/lavf.av1.mp4
-55940 tests/data/lavf-fate/lavf.av1.mp4
+0388467214421a19ba65d10a74dc35c0 *tests/data/lavf-fate/lavf.av1.mp4
+55936 tests/data/lavf-fate/lavf.av1.mp4
 tests/data/lavf-fate/lavf.av1.mp4 CRC=0x7c27cc15
diff --git a/tests/ref/lavf-fate/h264.mp4 b/tests/ref/lavf-fate/h264.mp4
index 5f45174a58..bb52f45758 100644
--- a/tests/ref/lavf-fate/h264.mp4
+++ b/tests/ref/lavf-fate/h264.mp4
@@ -1,3 +1,3 @@
-b9839fb19a1d745a0467482e1476030b *tests/data/lavf-fate/lavf.h264.mp4
-547912 tests/data/lavf-fate/lavf.h264.mp4
+6d158b25efe7391c803f6f61c7a80aa0 *tests/data/lavf-fate/lavf.h264.mp4
+547908 tests/data/lavf-fate/lavf.h264.mp4
 tests/data/lavf-fate/lavf.h264.mp4 CRC=0x9da2c999
diff --git a/tests/ref/lavf-fate/qtrle_mace6.mov b/tests/ref/lavf-fate/qtrle_mace6.mov
index 3359d62770..85c585fe39 100644
--- a/tests/ref/lavf-fate/qtrle_mace6.mov
+++ b/tests/ref/lavf-fate/qtrle_mace6.mov
@@ -1,3 +1,3 @@
-4ed55e773fe70a32b4483d9a4ef4d194 *tests/data/lavf-fate/lavf.qtrle_mace6.mov
-1270423 tests/data/lavf-fate/lavf.qtrle_mace6.mov
+f0ae34fb90e11342624e092094273aef *tests/data/lavf-fate/lavf.qtrle_mace6.mov
+1270415 tests/data/lavf-fate/lavf.qtrle_mace6.mov
 tests/data/lavf-fate/lavf.qtrle_mace6.mov CRC=0x9320cd26
diff --git a/tests/ref/lavf/mov b/tests/ref/lavf/mov
index 4a156049ff..75a0c4892d 100644
--- a/tests/ref/lavf/mov
+++ b/tests/ref/lavf/mov
@@ -1,9 +1,9 @@
-9229a7bead7ea527a7cddd0864fd8b6a *tests/data/lavf/lavf.mov
-357547 tests/data/lavf/lavf.mov
+11bd76730274924e02623172b82b5236 *tests/data/lavf/lavf.mov
+357539 tests/data/lavf/lavf.mov
 tests/data/lavf/lavf.mov CRC=0xbb2b949b
-68139eb1ca7ec2aebb32de0422eb1942 *tests/data/lavf/lavf.mov
-366629 tests/data/lavf/lavf.mov
+6efa586655e3db043cb29668f5216610 *tests/data/lavf/lavf.mov
+366621 tests/data/lavf/lavf.mov
 tests/data/lavf/lavf.mov CRC=0xa9793231
-4a27dbe3d7e423c9b09aed6e23db5c1b *tests/data/lavf/lavf.mov
-356929 tests/data/lavf/lavf.mov
+c80c625ded376602e71d5aa6ac6fdb1c *tests/data/lavf/lavf.mov
+356921 tests/data/lavf/lavf.mov
 tests/data/lavf/lavf.mov CRC=0xbb2b949b
diff --git a/tests/ref/lavf/mov_rtphint b/tests/ref/lavf/mov_rtphint
index 0be0e497cc..79a760694f 100644
--- a/tests/ref/lavf/mov_rtphint
+++ b/tests/ref/lavf/mov_rtphint
@@ -1,3 +1,3 @@
-a170ba2f5de1b09e5dae8a2db1c35e27 *tests/data/lavf/lavf.mov_rtphint
-366457 tests/data/lavf/lavf.mov_rtphint
+7014419d8267c2751314303a8fb303c1 *tests/data/lavf/lavf.mov_rtphint
+366449 tests/data/lavf/lavf.mov_rtphint
 tests/data/lavf/lavf.mov_rtphint CRC=0xbb2b949b
diff --git a/tests/ref/lavf/mp4 b/tests/ref/lavf/mp4
index f3ca0aff5f..8482812380 100644
--- a/tests/ref/lavf/mp4
+++ b/tests/ref/lavf/mp4
@@ -1,9 +1,9 @@
-d653477453c69baf66c1b98114308975 *tests/data/lavf/lavf.mp4
-312461 tests/data/lavf/lavf.mp4
+ebca72c186a4f3ba9bb17d9cb5b74fef *tests/data/lavf/lavf.mp4
+312457 tests/data/lavf/lavf.mp4
 tests/data/lavf/lavf.mp4 CRC=0x9d9a638a
-700a0f1b0ae3c96169399215899c9768 *tests/data/lavf/lavf.mp4
-321347 tests/data/lavf/lavf.mp4
+9944512475d82d2d601f3c96101bdf9c *tests/data/lavf/lavf.mp4
+321343 tests/data/lavf/lavf.mp4
 tests/data/lavf/lavf.mp4 CRC=0xe8130120
-51d17fa25de87dbe794f8043355b0afc *tests/data/lavf/lavf.mp4
-312005 tests/data/lavf/lavf.mp4
+7b3e71f294901067046c09f03a426bdc *tests/data/lavf/lavf.mp4
+312001 tests/data/lavf/lavf.mp4
 tests/data/lavf/lavf.mp4 CRC=0x9d9a638a
diff --git a/tests/ref/seek/acodec-alac b/tests/ref/seek/acodec-alac
index 095bc8fee4..a281d2e249 100644
--- a/tests/ref/seek/acodec-alac
+++ b/tests/ref/seek/acodec-alac
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.857596 pts: 1.857596 pos:  73655 size:  4961
+ret: 0         st: 0 flags:1 dts: 1.857596 pts: 1.857596 pos:  73647 size:  4961
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.835918 pts: 0.835918 pos:  29040 size:  3194
+ret: 0         st: 0 flags:1 dts: 0.835918 pts: 0.835918 pos:  29032 size:  3194
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.600635 pts: 2.600635 pos: 137561 size: 12843
+ret: 0         st: 0 flags:1 dts: 2.600635 pts: 2.600635 pos: 137553 size: 12843
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos:  50163 size:  4414
+ret: 0         st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos:  50155 size:  4414
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  12950 size:  3209
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  12942 size:  3209
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.229116 pts: 2.229116 pos: 100939 size:  7896
+ret: 0         st: 0 flags:1 dts: 2.229116 pts: 2.229116 pos: 100931 size:  7896
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.021678 pts: 1.021678 pos:  35322 size:  3031
+ret: 0         st: 0 flags:1 dts: 1.021678 pts: 1.021678 pos:  35314 size:  3031
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.786395 pts: 2.786395 pos: 163184 size: 12765
+ret: 0         st: 0 flags:1 dts: 2.786395 pts: 2.786395 pos: 163176 size: 12765
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.764717 pts: 1.764717 pos:  68684 size:  4971
+ret: 0         st: 0 flags:1 dts: 1.764717 pts: 1.764717 pos:  68676 size:  4971
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.557279 pts: 0.557279 pos:  19345 size:  3234
+ret: 0         st: 0 flags:1 dts: 0.557279 pts: 0.557279 pos:  19337 size:  3234
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.321995 pts: 2.321995 pos: 108835 size:  7886
+ret: 0         st: 0 flags:1 dts: 2.321995 pts: 2.321995 pos: 108827 size:  7886
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos:  50163 size:  4414
+ret: 0         st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos:  50155 size:  4414
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:   6474 size:  3245
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:   6466 size:  3245
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos:  78616 size:  6514
+ret: 0         st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos:  78608 size:  6514
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.928798 pts: 0.928798 pos:  32234 size:  3088
+ret: 0         st: 0 flags:1 dts: 0.928798 pts: 0.928798 pos:  32226 size:  3088
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 150404 size: 12780
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 150396 size: 12780
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.486077 pts: 1.486077 pos:  54577 size:  4554
+ret: 0         st: 0 flags:1 dts: 1.486077 pts: 1.486077 pos:  54569 size:  4554
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  16159 size:  3186
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  16151 size:  3186
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
diff --git a/tests/ref/seek/acodec-pcm-s16be b/tests/ref/seek/acodec-pcm-s16be
index 1de61bda7d..f6a6be4581 100644
--- a/tests/ref/seek/acodec-pcm-s16be
+++ b/tests/ref/seek/acodec-pcm-s16be
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 331820 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 331812 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 139308 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 139300 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 454700 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 454692 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 258092 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 258084 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  65580 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  65572 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 380972 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 380964 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 184364 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 184356 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 499756 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 499748 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 307244 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 307236 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 106540 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 106532 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 421932 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 421924 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 233516 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 233508 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  32812 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  32804 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 348204 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 348196 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 159788 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 159780 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 475180 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 475172 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 274476 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 274468 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  81964 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  81956 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
diff --git a/tests/ref/seek/acodec-pcm-s24be b/tests/ref/seek/acodec-pcm-s24be
index 5904fe62f8..ef22082e3b 100644
--- a/tests/ref/seek/acodec-pcm-s24be
+++ b/tests/ref/seek/acodec-pcm-s24be
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 497708 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 497700 size:  6144
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 208940 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 208932 size:  6144
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 682028 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 682020 size:  6144
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 387116 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 387108 size:  6144
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  98348 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  98340 size:  6144
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 571436 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 571428 size:  6144
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 276524 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 276516 size:  6144
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 749612 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 749604 size:  6144
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 460844 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 460836 size:  6144
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 159788 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 159780 size:  6144
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 632876 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 632868 size:  6144
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 350252 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 350244 size:  6144
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  49196 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  49188 size:  6144
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 522284 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 522276 size:  6144
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 239660 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 239652 size:  6144
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 712748 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 712740 size:  6144
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 411692 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 411684 size:  6144
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 122924 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 122916 size:  6144
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
diff --git a/tests/ref/seek/acodec-pcm-s32be b/tests/ref/seek/acodec-pcm-s32be
index 593bc965b1..6aed744942 100644
--- a/tests/ref/seek/acodec-pcm-s32be
+++ b/tests/ref/seek/acodec-pcm-s32be
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 663596 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 663588 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 278572 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 278564 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 909356 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 909348 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 516140 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 516132 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos: 131116 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos: 131108 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 761900 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 761892 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 368684 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 368676 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 999468 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 999460 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 614444 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 614436 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 213036 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 213028 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 843820 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 843812 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 466988 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 466980 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  65580 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  65572 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 696364 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 696356 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 319532 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 319524 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 950316 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 950308 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 548908 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 548900 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 163884 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 163876 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
diff --git a/tests/ref/seek/acodec-pcm-s8 b/tests/ref/seek/acodec-pcm-s8
index e54f2e7b3b..b119e2e266 100644
--- a/tests/ref/seek/acodec-pcm-s8
+++ b/tests/ref/seek/acodec-pcm-s8
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 165932 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 165924 size:  2048
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos:  69676 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos:  69668 size:  2048
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 227372 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 227364 size:  2048
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 129068 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 129060 size:  2048
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  32812 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  32804 size:  2048
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 190508 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 190500 size:  2048
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos:  92204 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos:  92196 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 249900 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 249892 size:  2048
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 153644 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 153636 size:  2048
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos:  53292 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos:  53284 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 210988 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 210980 size:  2048
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 116780 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 116772 size:  2048
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  16428 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  16420 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 174124 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 174116 size:  2048
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos:  79916 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos:  79908 size:  2048
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 237612 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 237604 size:  2048
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 137260 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 137252 size:  2048
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  41004 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  40996 size:  2048
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
diff --git a/tests/ref/seek/lavf-mov b/tests/ref/seek/lavf-mov
index f36c63fb96..27ea7c7730 100644
--- a/tests/ref/seek/lavf-mov
+++ b/tests/ref/seek/lavf-mov
@@ -1,48 +1,48 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326979 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
 ret: 0         st: 0 flags:0  ts: 0.788359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
 ret: 0         st: 0 flags:1  ts:-0.317500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
 ret:-1         st: 1 flags:0  ts: 2.576667
 ret: 0         st: 1 flags:1  ts: 1.470839
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
 ret: 0         st:-1 flags:0  ts: 0.365002
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165257 size: 27925
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165249 size: 27925
 ret: 0         st:-1 flags:1  ts:-0.740831
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
 ret:-1         st: 0 flags:0  ts: 2.153359
 ret: 0         st: 0 flags:1  ts: 1.047500
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326979 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
 ret: 0         st: 1 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
 ret: 0         st: 1 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
 ret:-1         st:-1 flags:0  ts: 1.730004
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 1 flags:1 dts: 0.464399 pts: 0.464399 pos: 164233 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.464399 pts: 0.464399 pos: 164225 size:  1024
 ret: 0         st: 0 flags:0  ts:-0.481641
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
 ret: 0         st: 0 flags:1  ts: 2.412500
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326979 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
 ret:-1         st: 1 flags:0  ts: 1.306667
 ret: 0         st: 1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
 ret: 0         st:-1 flags:0  ts:-0.904994
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
 ret: 0         st:-1 flags:1  ts: 1.989173
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326979 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
 ret: 0         st: 0 flags:0  ts: 0.883359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
 ret: 0         st: 0 flags:1  ts:-0.222500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
 ret:-1         st: 1 flags:0  ts: 2.671678
 ret: 0         st: 1 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165257 size: 27925
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165249 size: 27925
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
diff --git a/tests/ref/seek/vsynth_lena-dnxhd-1080i b/tests/ref/seek/vsynth_lena-dnxhd-1080i
index ad335e4437..a5f0ce916c 100644
--- a/tests/ref/seek/vsynth_lena-dnxhd-1080i
+++ b/tests/ref/seek/vsynth_lena-dnxhd-1080i
@@ -1,44 +1,44 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
 ret:-1         st: 0 flags:0  ts: 0.788359
 ret: 0         st: 0 flags:1  ts:-0.317500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
 ret:-1         st:-1 flags:0  ts: 2.576668
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
 ret:-1         st: 0 flags:0  ts: 0.365000
 ret: 0         st: 0 flags:1  ts:-0.740859
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
 ret:-1         st:-1 flags:0  ts: 2.153336
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
 ret: 0         st: 0 flags:0  ts:-0.058359
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
 ret: 0         st: 0 flags:1  ts: 2.835859
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
 ret:-1         st:-1 flags:0  ts: 1.730004
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
 ret: 0         st: 0 flags:0  ts:-0.481641
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
 ret: 0         st: 0 flags:1  ts: 2.412500
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
 ret:-1         st:-1 flags:0  ts: 1.306672
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
 ret: 0         st: 0 flags:0  ts:-0.905000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
 ret: 0         st: 0 flags:1  ts: 1.989141
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
 ret:-1         st:-1 flags:0  ts: 0.883340
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
 ret:-1         st: 0 flags:0  ts: 2.671641
 ret: 0         st: 0 flags:1  ts: 1.565859
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
 ret:-1         st:-1 flags:0  ts: 0.460008
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
diff --git a/tests/ref/seek/vsynth_lena-mpeg4 b/tests/ref/seek/vsynth_lena-mpeg4
index 2ecc488138..b1c8a19db8 100644
--- a/tests/ref/seek/vsynth_lena-mpeg4
+++ b/tests/ref/seek/vsynth_lena-mpeg4
@@ -1,50 +1,50 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75144 size: 10776
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75140 size: 10776
 ret: 0         st: 0 flags:0  ts: 0.788359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47232 size:  9634
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47228 size:  9634
 ret: 0         st: 0 flags:1  ts:-0.317500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
 ret:-1         st:-1 flags:0  ts: 2.576668
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75144 size: 10776
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75140 size: 10776
 ret: 0         st: 0 flags:0  ts: 0.365000
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23275 size:  8524
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23271 size:  8524
 ret: 0         st: 0 flags:1  ts:-0.740859
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
 ret:-1         st:-1 flags:0  ts: 2.153336
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47232 size:  9634
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47228 size:  9634
 ret: 0         st: 0 flags:0  ts:-0.058359
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
 ret: 0         st: 0 flags:1  ts: 2.835859
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106185 size: 11182
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106181 size: 11182
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106185 size: 11182
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106181 size: 11182
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23275 size:  8524
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23271 size:  8524
 ret: 0         st: 0 flags:0  ts:-0.481641
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
 ret: 0         st: 0 flags:1  ts: 2.412500
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106185 size: 11182
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106181 size: 11182
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75144 size: 10776
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75140 size: 10776
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
 ret: 0         st: 0 flags:0  ts:-0.905000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
 ret: 0         st: 0 flags:1  ts: 1.989141
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106185 size: 11182
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106181 size: 11182
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47232 size:  9634
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47228 size:  9634
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
 ret:-1         st: 0 flags:0  ts: 2.671641
 ret: 0         st: 0 flags:1  ts: 1.565859
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75144 size: 10776
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75140 size: 10776
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23275 size:  8524
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23271 size:  8524
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
diff --git a/tests/ref/seek/vsynth_lena-svq1 b/tests/ref/seek/vsynth_lena-svq1
index 9e9fb144a9..33fe33e916 100644
--- a/tests/ref/seek/vsynth_lena-svq1
+++ b/tests/ref/seek/vsynth_lena-svq1
@@ -1,50 +1,50 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517576 size: 25636
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517568 size: 25636
 ret: 0         st: 0 flags:0  ts: 0.788359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326564 size: 23552
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326556 size: 23552
 ret: 0         st: 0 flags:1  ts:-0.317500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
 ret:-1         st:-1 flags:0  ts: 2.576668
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517576 size: 25636
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517568 size: 25636
 ret: 0         st: 0 flags:0  ts: 0.365000
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157048 size: 21896
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157040 size: 21896
 ret: 0         st: 0 flags:1  ts:-0.740859
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
 ret:-1         st:-1 flags:0  ts: 2.153336
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326564 size: 23552
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326556 size: 23552
 ret: 0         st: 0 flags:0  ts:-0.058359
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
 ret: 0         st: 0 flags:1  ts: 2.835859
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722812 size: 25888
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722804 size: 25888
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722812 size: 25888
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722804 size: 25888
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157048 size: 21896
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157040 size: 21896
 ret: 0         st: 0 flags:0  ts:-0.481641
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
 ret: 0         st: 0 flags:1  ts: 2.412500
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722812 size: 25888
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722804 size: 25888
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517576 size: 25636
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517568 size: 25636
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
 ret: 0         st: 0 flags:0  ts:-0.905000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
 ret: 0         st: 0 flags:1  ts: 1.989141
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722812 size: 25888
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722804 size: 25888
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326564 size: 23552
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326556 size: 23552
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
 ret:-1         st: 0 flags:0  ts: 2.671641
 ret: 0         st: 0 flags:1  ts: 1.565859
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517576 size: 25636
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517568 size: 25636
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157048 size: 21896
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157040 size: 21896
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
diff --git a/tests/ref/vsynth/vsynth1-avui b/tests/ref/vsynth/vsynth1-avui
index 460bdca820..8e76b9a118 100644
--- a/tests/ref/vsynth/vsynth1-avui
+++ b/tests/ref/vsynth/vsynth1-avui
@@ -1,4 +1,4 @@
-66901857c50b6b6c4b9ae74634a7a884 *tests/data/fate/vsynth1-avui.mov
-42625045 tests/data/fate/vsynth1-avui.mov
+be8ffb8056d1fb5f8c500b95bf7af14c *tests/data/fate/vsynth1-avui.mov
+42625037 tests/data/fate/vsynth1-avui.mov
 c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-avui.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i b/tests/ref/vsynth/vsynth1-dnxhd-1080i
index a4c65a2519..0e7844b0ee 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-1080i
+++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i
@@ -1,4 +1,4 @@
-946111e6002f0152bffc8ca1155ba8e6 *tests/data/fate/vsynth1-dnxhd-1080i.mov
-3031919 tests/data/fate/vsynth1-dnxhd-1080i.mov
+af5cbe239839f6282a68f1a106ed3a77 *tests/data/fate/vsynth1-dnxhd-1080i.mov
+3031911 tests/data/fate/vsynth1-dnxhd-1080i.mov
 fed9ed2a5179c9df0ef58772b025e303 *tests/data/fate/vsynth1-dnxhd-1080i.out.rawvideo
 stddev:    6.18 PSNR: 32.31 MAXDIFF:   64 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
index 80204dff01..c3f3fda085 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@
-876ef1612e17d9fce96f06809d36d29f *tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
-4588399 tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
+1a8261120bcc764a7bbdd198febff4c7 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
+4588391 tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
 31032fcb7e6af79daaac02288254c6d6 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.out.rawvideo
 stddev:    5.69 PSNR: 33.02 MAXDIFF:   55 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr
index 23aa678add..1965e3135f 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr
@@ -1,4 +1,4 @@
-382f3e3b62973cb271c390eef6d1c05d *tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
-3031937 tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
+2caca2edcb519c88543c38e129ded03b *tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
+3031929 tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
 6f2d5429ffc4529a76acfeb28b560542 *tests/data/fate/vsynth1-dnxhd-1080i-colr.out.rawvideo
 stddev:    5.65 PSNR: 33.09 MAXDIFF:   55 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
index f6b7d94aea..a8ee88c63e 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@
-fa047c7e0eea1b1d005178e826b25101 *tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
-4772607 tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
+36729f1faaa24daa9c643428bc87f090 *tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
+4772599 tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
 388c7c84573abe28cc963e3ad5e15a31 *tests/data/fate/vsynth1-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    5.73 PSNR: 32.96 MAXDIFF:   56 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
index 18d5e638e6..7d2890db55 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@
-b3e1f01185e1057b90548042d0c7f44e *tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
-3748607 tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
+ee2f1559d2cf82930d893ca4d0937c01 *tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
+3748599 tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
 21c68252f500bada13ccce232e1ecfca *tests/data/fate/vsynth1-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    5.59 PSNR: 33.17 MAXDIFF:   55 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
index 49fcb9a47a..b647cbe7b5 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@
-16632928462c7f08e20a7de7854ffae0 *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
-2560771 tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
+31544b301d8a23101c1cf03d26546fb8 *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
+2560763 tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
 66d29f91cdf038753894dd42e65d997a *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    5.77 PSNR: 32.91 MAXDIFF:   58 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-mov-bgr24 b/tests/ref/vsynth/vsynth1-mov-bgr24
index 9f77394f0d..6639d0d544 100644
--- a/tests/ref/vsynth/vsynth1-mov-bgr24
+++ b/tests/ref/vsynth/vsynth1-mov-bgr24
@@ -1,4 +1,4 @@
-31e6068421109aec94aae95ac239db7d *tests/data/fate/vsynth1-mov-bgr24.mov
-15207177 tests/data/fate/vsynth1-mov-bgr24.mov
+ba9d5cbc4b432db076fb501b1d5fa536 *tests/data/fate/vsynth1-mov-bgr24.mov
+15207169 tests/data/fate/vsynth1-mov-bgr24.mov
 93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-mov-bgr24.out.rawvideo
 stddev:    3.42 PSNR: 37.44 MAXDIFF:   48 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-mov-bpp15 b/tests/ref/vsynth/vsynth1-mov-bpp15
index 47f5a3c6de..d42c40b19a 100644
--- a/tests/ref/vsynth/vsynth1-mov-bpp15
+++ b/tests/ref/vsynth/vsynth1-mov-bpp15
@@ -1,4 +1,4 @@
-e9adabc615357311b33ba0d7976cb9d6 *tests/data/fate/vsynth1-mov-bpp15.mov
-10138337 tests/data/fate/vsynth1-mov-bpp15.mov
+dfd88a906ae74dddd4caf3c455224fa3 *tests/data/fate/vsynth1-mov-bpp15.mov
+10138329 tests/data/fate/vsynth1-mov-bpp15.mov
 99bece160cfb0da47f446b60d42fa3ae *tests/data/fate/vsynth1-mov-bpp15.out.rawvideo
 stddev:    4.06 PSNR: 35.94 MAXDIFF:   47 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-mov-bpp16 b/tests/ref/vsynth/vsynth1-mov-bpp16
index 0ec85b5a9b..bdafbf14ce 100644
--- a/tests/ref/vsynth/vsynth1-mov-bpp16
+++ b/tests/ref/vsynth/vsynth1-mov-bpp16
@@ -1,4 +1,4 @@
-4d5e276f3c8f24a504272f47173211fa *tests/data/fate/vsynth1-mov-bpp16.mov
-10138337 tests/data/fate/vsynth1-mov-bpp16.mov
+3d7e3f8bd238c341b0b4d55a30d8f5a2 *tests/data/fate/vsynth1-mov-bpp16.mov
+10138329 tests/data/fate/vsynth1-mov-bpp16.mov
 0cea382b9b0a4ce88260c1edc20b3f5b *tests/data/fate/vsynth1-mov-bpp16.out.rawvideo
 stddev:    3.79 PSNR: 36.55 MAXDIFF:   46 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-mpeg4 b/tests/ref/vsynth/vsynth1-mpeg4
index 0a9651f19d..4e9b4bd03a 100644
--- a/tests/ref/vsynth/vsynth1-mpeg4
+++ b/tests/ref/vsynth/vsynth1-mpeg4
@@ -1,4 +1,4 @@
-05fb1f7e2e5a47230642735e9da15612 *tests/data/fate/vsynth1-mpeg4.mp4
-540089 tests/data/fate/vsynth1-mpeg4.mp4
+b4e8871c504a22c8c874c7e845b73da7 *tests/data/fate/vsynth1-mpeg4.mp4
+540085 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/vsynth/vsynth1-prores b/tests/ref/vsynth/vsynth1-prores
index 5e9e6724ea..3c59eb71a8 100644
--- a/tests/ref/vsynth/vsynth1-prores
+++ b/tests/ref/vsynth/vsynth1-prores
@@ -1,4 +1,4 @@
-ac9a700c0e531cf931d4032d910b3613 *tests/data/fate/vsynth1-prores.mov
-5022829 tests/data/fate/vsynth1-prores.mov
+460f69344752e6af2dc46b00169b78a3 *tests/data/fate/vsynth1-prores.mov
+5022821 tests/data/fate/vsynth1-prores.mov
 fb4a9e025d12afc0dbbca8d82831858f *tests/data/fate/vsynth1-prores.out.rawvideo
 stddev:    2.47 PSNR: 40.27 MAXDIFF:   31 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores_444 b/tests/ref/vsynth/vsynth1-prores_444
index 740c584d93..f7f8e9033d 100644
--- a/tests/ref/vsynth/vsynth1-prores_444
+++ b/tests/ref/vsynth/vsynth1-prores_444
@@ -1,4 +1,4 @@
-0d3bbbd4b7952a276fda9ed13a53ecf7 *tests/data/fate/vsynth1-prores_444.mov
-7778962 tests/data/fate/vsynth1-prores_444.mov
+509e0407dff118c775dcaa4f509a4aae *tests/data/fate/vsynth1-prores_444.mov
+7778954 tests/data/fate/vsynth1-prores_444.mov
 e0da52b5d58171294d1b299539801ae0 *tests/data/fate/vsynth1-prores_444.out.rawvideo
 stddev:    2.80 PSNR: 39.17 MAXDIFF:   44 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores_444_int b/tests/ref/vsynth/vsynth1-prores_444_int
index 383d9bafb7..9515887212 100644
--- a/tests/ref/vsynth/vsynth1-prores_444_int
+++ b/tests/ref/vsynth/vsynth1-prores_444_int
@@ -1,4 +1,4 @@
-c5bd60536c5e25d314e16446d3bb844c *tests/data/fate/vsynth1-prores_444_int.mov
-9940955 tests/data/fate/vsynth1-prores_444_int.mov
+1d5e484fa8ca08781ef2ed8428963d12 *tests/data/fate/vsynth1-prores_444_int.mov
+9940947 tests/data/fate/vsynth1-prores_444_int.mov
 732ceeb6887524e0aee98762fe50578b *tests/data/fate/vsynth1-prores_444_int.out.rawvideo
 stddev:    2.83 PSNR: 39.08 MAXDIFF:   45 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores_int b/tests/ref/vsynth/vsynth1-prores_int
index ad76af0c53..16a66874af 100644
--- a/tests/ref/vsynth/vsynth1-prores_int
+++ b/tests/ref/vsynth/vsynth1-prores_int
@@ -1,4 +1,4 @@
-753e17d71932d1f2ea5fe55d7dc35162 *tests/data/fate/vsynth1-prores_int.mov
-6308696 tests/data/fate/vsynth1-prores_int.mov
+3711e22aa5052f39dabfcb9ee3a42045 *tests/data/fate/vsynth1-prores_int.mov
+6308688 tests/data/fate/vsynth1-prores_int.mov
 164a4ca890695cf594293d1acec9463c *tests/data/fate/vsynth1-prores_int.out.rawvideo
 stddev:    2.66 PSNR: 39.62 MAXDIFF:   34 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores_ks b/tests/ref/vsynth/vsynth1-prores_ks
index dbda507a91..22c248909c 100644
--- a/tests/ref/vsynth/vsynth1-prores_ks
+++ b/tests/ref/vsynth/vsynth1-prores_ks
@@ -1,4 +1,4 @@
-551329f4d1076e3ed3df65e5d5b262b5 *tests/data/fate/vsynth1-prores_ks.mov
-3858919 tests/data/fate/vsynth1-prores_ks.mov
+5b0970bacd4b03d70f7648fee2f0c85f *tests/data/fate/vsynth1-prores_ks.mov
+3858911 tests/data/fate/vsynth1-prores_ks.mov
 100eb002413fe7a632d440dfbdf7e3ff *tests/data/fate/vsynth1-prores_ks.out.rawvideo
 stddev:    3.17 PSNR: 38.09 MAXDIFF:   39 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-qtrle b/tests/ref/vsynth/vsynth1-qtrle
index ba1a90c28b..02164ddb92 100644
--- a/tests/ref/vsynth/vsynth1-qtrle
+++ b/tests/ref/vsynth/vsynth1-qtrle
@@ -1,4 +1,4 @@
-921118eb1b719c250e20c1a8a42b6dd5 *tests/data/fate/vsynth1-qtrle.mov
-15263166 tests/data/fate/vsynth1-qtrle.mov
+fb84d62fc821cf063b5877c61b975e62 *tests/data/fate/vsynth1-qtrle.mov
+15263158 tests/data/fate/vsynth1-qtrle.mov
 93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-qtrle.out.rawvideo
 stddev:    3.42 PSNR: 37.44 MAXDIFF:   48 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-qtrlegray b/tests/ref/vsynth/vsynth1-qtrlegray
index 43a31413af..3cf64d14a7 100644
--- a/tests/ref/vsynth/vsynth1-qtrlegray
+++ b/tests/ref/vsynth/vsynth1-qtrlegray
@@ -1,4 +1,4 @@
-a014ed1ec97dfbe049e9332209994e89 *tests/data/fate/vsynth1-qtrlegray.mov
-5113301 tests/data/fate/vsynth1-qtrlegray.mov
+75753ab19241d1e45297219204a0925d *tests/data/fate/vsynth1-qtrlegray.mov
+5113293 tests/data/fate/vsynth1-qtrlegray.mov
 cb20af0e5a65aad7cf47002fcb52288e *tests/data/fate/vsynth1-qtrlegray.out.rawvideo
 stddev:   25.34 PSNR: 20.05 MAXDIFF:  122 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-svq1 b/tests/ref/vsynth/vsynth1-svq1
index 92bb3ecb8c..cb89915d22 100644
--- a/tests/ref/vsynth/vsynth1-svq1
+++ b/tests/ref/vsynth/vsynth1-svq1
@@ -1,4 +1,4 @@
-ebb4623406c11987d04e5d16b582c32e *tests/data/fate/vsynth1-svq1.mov
-1334241 tests/data/fate/vsynth1-svq1.mov
+39ec74da265e3ef27756618108641181 *tests/data/fate/vsynth1-svq1.mov
+1334233 tests/data/fate/vsynth1-svq1.mov
 9cc35c54b2c77d36bd7e308b393c1f81 *tests/data/fate/vsynth1-svq1.out.rawvideo
 stddev:    9.58 PSNR: 28.50 MAXDIFF:  210 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-vc2-420p b/tests/ref/vsynth/vsynth1-vc2-420p
index f6033d4957..0c4c9cbeba 100644
--- a/tests/ref/vsynth/vsynth1-vc2-420p
+++ b/tests/ref/vsynth/vsynth1-vc2-420p
@@ -1,4 +1,4 @@
-31036459c67b6c11d704742661627da7 *tests/data/fate/vsynth1-vc2-420p.mov
-1155423 tests/data/fate/vsynth1-vc2-420p.mov
+74df65b15463f098587d8c09d87286a1 *tests/data/fate/vsynth1-vc2-420p.mov
+1155415 tests/data/fate/vsynth1-vc2-420p.mov
 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-420p10 b/tests/ref/vsynth/vsynth1-vc2-420p10
index fac0f666f6..2a70b657ef 100644
--- a/tests/ref/vsynth/vsynth1-vc2-420p10
+++ b/tests/ref/vsynth/vsynth1-vc2-420p10
@@ -1,4 +1,4 @@
-a374912ad6499d50e1c746363653668c *tests/data/fate/vsynth1-vc2-420p10.mov
-1417055 tests/data/fate/vsynth1-vc2-420p10.mov
+f469f3b94c9262fd421a67b20e1809e7 *tests/data/fate/vsynth1-vc2-420p10.mov
+1417047 tests/data/fate/vsynth1-vc2-420p10.mov
 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p10.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-420p12 b/tests/ref/vsynth/vsynth1-vc2-420p12
index 91c2bb563c..4d1a1a2243 100644
--- a/tests/ref/vsynth/vsynth1-vc2-420p12
+++ b/tests/ref/vsynth/vsynth1-vc2-420p12
@@ -1,4 +1,4 @@
-088ed690c8fcfbf09676ea14d597a336 *tests/data/fate/vsynth1-vc2-420p12.mov
-1746015 tests/data/fate/vsynth1-vc2-420p12.mov
+9e482c1b03d49cfec89c6515888bc735 *tests/data/fate/vsynth1-vc2-420p12.mov
+1746007 tests/data/fate/vsynth1-vc2-420p12.mov
 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p12.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-422p b/tests/ref/vsynth/vsynth1-vc2-422p
index 941f2cc573..15f988a39a 100644
--- a/tests/ref/vsynth/vsynth1-vc2-422p
+++ b/tests/ref/vsynth/vsynth1-vc2-422p
@@ -1,4 +1,4 @@
-7a2c2287873b27c7199756df027ecf78 *tests/data/fate/vsynth1-vc2-422p.mov
-1229791 tests/data/fate/vsynth1-vc2-422p.mov
+19b0ed7a894cda7378ace68f05c143cd *tests/data/fate/vsynth1-vc2-422p.mov
+1229783 tests/data/fate/vsynth1-vc2-422p.mov
 57a7f41235e7f9f094aa7ba5bdc82f02 *tests/data/fate/vsynth1-vc2-422p.out.rawvideo
 stddev:    1.89 PSNR: 42.58 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-422p10 b/tests/ref/vsynth/vsynth1-vc2-422p10
index 0a1e4a6a27..c561eaf12c 100644
--- a/tests/ref/vsynth/vsynth1-vc2-422p10
+++ b/tests/ref/vsynth/vsynth1-vc2-422p10
@@ -1,4 +1,4 @@
-4297c40259dc2d224af047b93988b7d0 *tests/data/fate/vsynth1-vc2-422p10.mov
-1684063 tests/data/fate/vsynth1-vc2-422p10.mov
+e3ddb55b47e8960eba9412c4e38ce77a *tests/data/fate/vsynth1-vc2-422p10.mov
+1684055 tests/data/fate/vsynth1-vc2-422p10.mov
 f35dd1c1df4726bb1d75d95e321b0698 *tests/data/fate/vsynth1-vc2-422p10.out.rawvideo
 stddev:    1.88 PSNR: 42.61 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-422p12 b/tests/ref/vsynth/vsynth1-vc2-422p12
index b6ed569720..baa67153b0 100644
--- a/tests/ref/vsynth/vsynth1-vc2-422p12
+++ b/tests/ref/vsynth/vsynth1-vc2-422p12
@@ -1,4 +1,4 @@
-ed757c30129980ad7d47c69b32a1abdd *tests/data/fate/vsynth1-vc2-422p12.mov
-2135139 tests/data/fate/vsynth1-vc2-422p12.mov
+4dd111ed0272534faa258cb6a2dab13d *tests/data/fate/vsynth1-vc2-422p12.mov
+2135131 tests/data/fate/vsynth1-vc2-422p12.mov
 1b56b3d127320c0e6c643e3430b7ffd1 *tests/data/fate/vsynth1-vc2-422p12.out.rawvideo
 stddev:    1.88 PSNR: 42.62 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-444p b/tests/ref/vsynth/vsynth1-vc2-444p
index 2d6e8f5e5b..1d0dffc390 100644
--- a/tests/ref/vsynth/vsynth1-vc2-444p
+++ b/tests/ref/vsynth/vsynth1-vc2-444p
@@ -1,4 +1,4 @@
-51a6187535247f7bc3561800d704ddc6 *tests/data/fate/vsynth1-vc2-444p.mov
-1593818 tests/data/fate/vsynth1-vc2-444p.mov
+377d8c8f5bf8cec078d96d4d62df6296 *tests/data/fate/vsynth1-vc2-444p.mov
+1593810 tests/data/fate/vsynth1-vc2-444p.mov
 791cf0f21558ad4a4cad43da05628e06 *tests/data/fate/vsynth1-vc2-444p.out.rawvideo
 stddev:    2.69 PSNR: 39.51 MAXDIFF:   37 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-444p10 b/tests/ref/vsynth/vsynth1-vc2-444p10
index eac9291060..fee9afbd7e 100644
--- a/tests/ref/vsynth/vsynth1-vc2-444p10
+++ b/tests/ref/vsynth/vsynth1-vc2-444p10
@@ -1,4 +1,4 @@
-13fd99cbb189a080fbd49ed07b295e1d *tests/data/fate/vsynth1-vc2-444p10.mov
-2167651 tests/data/fate/vsynth1-vc2-444p10.mov
+dca4f23469c7446fecf5c123bbc71b2b *tests/data/fate/vsynth1-vc2-444p10.mov
+2167643 tests/data/fate/vsynth1-vc2-444p10.mov
 0e2cd6d0e1d68ffee64d269dcb57d66d *tests/data/fate/vsynth1-vc2-444p10.out.rawvideo
 stddev:    2.69 PSNR: 39.53 MAXDIFF:   37 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-444p12 b/tests/ref/vsynth/vsynth1-vc2-444p12
index 8086e5618c..e548deca1d 100644
--- a/tests/ref/vsynth/vsynth1-vc2-444p12
+++ b/tests/ref/vsynth/vsynth1-vc2-444p12
@@ -1,4 +1,4 @@
-4c1c08cd084eed01b1f1c92b2bfc13b4 *tests/data/fate/vsynth1-vc2-444p12.mov
-2755167 tests/data/fate/vsynth1-vc2-444p12.mov
+f5ef425d9d29829e8dc4287ef253d3c7 *tests/data/fate/vsynth1-vc2-444p12.mov
+2755159 tests/data/fate/vsynth1-vc2-444p12.mov
 55998114d7386d219a49011c8b804a58 *tests/data/fate/vsynth1-vc2-444p12.out.rawvideo
 stddev:    2.69 PSNR: 39.53 MAXDIFF:   37 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-t5_3 b/tests/ref/vsynth/vsynth1-vc2-t5_3
index fa9ec16bc0..e2fb05407e 100644
--- a/tests/ref/vsynth/vsynth1-vc2-t5_3
+++ b/tests/ref/vsynth/vsynth1-vc2-t5_3
@@ -1,4 +1,4 @@
-0c2c89cda45fccebba1ae314cdb6ece0 *tests/data/fate/vsynth1-vc2-t5_3.mov
-1604324 tests/data/fate/vsynth1-vc2-t5_3.mov
+4e1ca89ec825e7926717146b945c916d *tests/data/fate/vsynth1-vc2-t5_3.mov
+1604316 tests/data/fate/vsynth1-vc2-t5_3.mov
 f35dd1c1df4726bb1d75d95e321b0698 *tests/data/fate/vsynth1-vc2-t5_3.out.rawvideo
 stddev:    1.88 PSNR: 42.61 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-thaar b/tests/ref/vsynth/vsynth1-vc2-thaar
index dd0027cff8..8831027786 100644
--- a/tests/ref/vsynth/vsynth1-vc2-thaar
+++ b/tests/ref/vsynth/vsynth1-vc2-thaar
@@ -1,4 +1,4 @@
-3dba36dc95020819949f30a3f920f821 *tests/data/fate/vsynth1-vc2-thaar.mov
-1717732 tests/data/fate/vsynth1-vc2-thaar.mov
+a0aba4e9628b8952fe774bd8c1f3f18d *tests/data/fate/vsynth1-vc2-thaar.mov
+1717724 tests/data/fate/vsynth1-vc2-thaar.mov
 f35dd1c1df4726bb1d75d95e321b0698 *tests/data/fate/vsynth1-vc2-thaar.out.rawvideo
 stddev:    1.88 PSNR: 42.61 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-avui b/tests/ref/vsynth/vsynth2-avui
index 561d8c68b0..f4666ee9ca 100644
--- a/tests/ref/vsynth/vsynth2-avui
+++ b/tests/ref/vsynth/vsynth2-avui
@@ -1,4 +1,4 @@
-bbed0f535ef2a67c0720d33dea1e8d66 *tests/data/fate/vsynth2-avui.mov
-42625045 tests/data/fate/vsynth2-avui.mov
+4a08755db5e09933a45178bc6f5f61b6 *tests/data/fate/vsynth2-avui.mov
+42625037 tests/data/fate/vsynth2-avui.mov
 36d7ca943916e1743cefa609eba0205c *tests/data/fate/vsynth2-avui.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i b/tests/ref/vsynth/vsynth2-dnxhd-1080i
index e5d5508bbb..0668a44f9a 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-1080i
+++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i
@@ -1,4 +1,4 @@
-16304e5fbb5ac1bea1e42bcb061262a6 *tests/data/fate/vsynth2-dnxhd-1080i.mov
-3031919 tests/data/fate/vsynth2-dnxhd-1080i.mov
+0067903558c99e3abed402ed65297735 *tests/data/fate/vsynth2-dnxhd-1080i.mov
+3031911 tests/data/fate/vsynth2-dnxhd-1080i.mov
 e941d2587cfeccddc450da7f41f7f911 *tests/data/fate/vsynth2-dnxhd-1080i.out.rawvideo
 stddev:    1.50 PSNR: 44.56 MAXDIFF:   31 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
index 763350975d..7689e2c22e 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@
-5a8342d4473318f6d56650ae76b5c892 *tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
-4588399 tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
+16e86953a697e1e7f9d80903ff4fef0c *tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
+4588391 tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
 e4ca9be476869afb94962d945f90bdf6 *tests/data/fate/vsynth2-dnxhd-1080i-10bit.out.rawvideo
 stddev:    1.57 PSNR: 44.18 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr
index fd763dd3b8..aac70c2867 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr
@@ -1,4 +1,4 @@
-fb740664c7c427a8a32944278d50f6d6 *tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
-3031937 tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
+e7e5cd8d6d1596596ded1007f37c3193 *tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
+3031929 tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
 ec40a8014b819d02951b2f06bee7b514 *tests/data/fate/vsynth2-dnxhd-1080i-colr.out.rawvideo
 stddev:    1.54 PSNR: 44.33 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
index 9ae711e769..b8d3ab9990 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@
-7cd21b11b6d67132d7810ef44bb8f02e *tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
-4772607 tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
+a71fffeebf680f52aaae2df02b85d2fe *tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
+4772599 tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
 9c087836b5e07bddb96533d27939219f *tests/data/fate/vsynth2-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    1.56 PSNR: 44.25 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
index d81353262e..9370d87aac 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@
-0b1de8b5b2b468b2e058e3e1dbafb5c7 *tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
-3748607 tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
+6a514f231b36542a3bc6af90bbc04dcd *tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
+3748599 tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
 6d4cdd8822ead300690af9ce52db037c *tests/data/fate/vsynth2-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    1.52 PSNR: 44.49 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
index 92d96f6cb1..0b8e9571eb 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@
-c66b0ce7518cb408282c97bbce5231d3 *tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
-2560771 tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
+2398b73a57a5ae4c4cd54b3ebb796bfb *tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
+2560763 tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
 ba86d472b3f160e2f1d00cf569231e3f *tests/data/fate/vsynth2-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    1.58 PSNR: 44.13 MAXDIFF:   35 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-mov-bgr24 b/tests/ref/vsynth/vsynth2-mov-bgr24
index 0e6245abc7..1db6aee655 100644
--- a/tests/ref/vsynth/vsynth2-mov-bgr24
+++ b/tests/ref/vsynth/vsynth2-mov-bgr24
@@ -1,4 +1,4 @@
-8e601dd7b86a2572fb016d53403f1445 *tests/data/fate/vsynth2-mov-bgr24.mov
-15207177 tests/data/fate/vsynth2-mov-bgr24.mov
+1c5a5b9e299c5e02e757d8be98999cf4 *tests/data/fate/vsynth2-mov-bgr24.mov
+15207169 tests/data/fate/vsynth2-mov-bgr24.mov
 32fae3e665407bb4317b3f90fedb903c *tests/data/fate/vsynth2-mov-bgr24.out.rawvideo
 stddev:    1.54 PSNR: 44.37 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-mov-bpp15 b/tests/ref/vsynth/vsynth2-mov-bpp15
index 7ef372049d..ce1c13a346 100644
--- a/tests/ref/vsynth/vsynth2-mov-bpp15
+++ b/tests/ref/vsynth/vsynth2-mov-bpp15
@@ -1,4 +1,4 @@
-40e2817d35ee0ea90c548d9179666723 *tests/data/fate/vsynth2-mov-bpp15.mov
-10138337 tests/data/fate/vsynth2-mov-bpp15.mov
+a004683db50f49520abd74479b25cbd1 *tests/data/fate/vsynth2-mov-bpp15.mov
+10138329 tests/data/fate/vsynth2-mov-bpp15.mov
 eb3f0c974ed17ede7cd3ce30ce417d8d *tests/data/fate/vsynth2-mov-bpp15.out.rawvideo
 stddev:    2.81 PSNR: 39.14 MAXDIFF:   19 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-mov-bpp16 b/tests/ref/vsynth/vsynth2-mov-bpp16
index db45dbea26..f7f40c58c1 100644
--- a/tests/ref/vsynth/vsynth2-mov-bpp16
+++ b/tests/ref/vsynth/vsynth2-mov-bpp16
@@ -1,4 +1,4 @@
-aaef2aabdb097195f032e5655371814d *tests/data/fate/vsynth2-mov-bpp16.mov
-10138337 tests/data/fate/vsynth2-mov-bpp16.mov
+b7ffee543580662d2cae327233816fca *tests/data/fate/vsynth2-mov-bpp16.mov
+10138329 tests/data/fate/vsynth2-mov-bpp16.mov
 7747ab837f0e832be2124120d4f7df1c *tests/data/fate/vsynth2-mov-bpp16.out.rawvideo
 stddev:    2.21 PSNR: 41.24 MAXDIFF:   18 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-mpeg4 b/tests/ref/vsynth/vsynth2-mpeg4
index bff79379df..85899ff88e 100644
--- a/tests/ref/vsynth/vsynth2-mpeg4
+++ b/tests/ref/vsynth/vsynth2-mpeg4
@@ -1,4 +1,4 @@
-e55d3f35d398b4934e69238e7a2f5cf8 *tests/data/fate/vsynth2-mpeg4.mp4
-159314 tests/data/fate/vsynth2-mpeg4.mp4
+adbd883d1701beabd04522d003dafab6 *tests/data/fate/vsynth2-mpeg4.mp4
+159310 tests/data/fate/vsynth2-mpeg4.mp4
 2645405bc5350acc85ad72f3352f5135 *tests/data/fate/vsynth2-mpeg4.out.rawvideo
 stddev:    6.02 PSNR: 32.53 MAXDIFF:   89 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores b/tests/ref/vsynth/vsynth2-prores
index 524c84137e..8e48cb041c 100644
--- a/tests/ref/vsynth/vsynth2-prores
+++ b/tests/ref/vsynth/vsynth2-prores
@@ -1,4 +1,4 @@
-7f59c330b815f61fa38dc17cd21372c1 *tests/data/fate/vsynth2-prores.mov
-3260131 tests/data/fate/vsynth2-prores.mov
+a38660faa093dbc8a1ae8e570b6e595b *tests/data/fate/vsynth2-prores.mov
+3260123 tests/data/fate/vsynth2-prores.mov
 416fa8773615889c70491452428d6710 *tests/data/fate/vsynth2-prores.out.rawvideo
 stddev:    1.38 PSNR: 45.29 MAXDIFF:   12 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores_444 b/tests/ref/vsynth/vsynth2-prores_444
index 159f6a5457..c6084f5908 100644
--- a/tests/ref/vsynth/vsynth2-prores_444
+++ b/tests/ref/vsynth/vsynth2-prores_444
@@ -1,4 +1,4 @@
-6a2b691f191ce246ebb6f51ded6a7133 *tests/data/fate/vsynth2-prores_444.mov
-5219730 tests/data/fate/vsynth2-prores_444.mov
+21f973c4c6076ea21f82d5fe486c0c98 *tests/data/fate/vsynth2-prores_444.mov
+5219722 tests/data/fate/vsynth2-prores_444.mov
 e425b6af7afa51b5e64fc529528b3691 *tests/data/fate/vsynth2-prores_444.out.rawvideo
 stddev:    0.88 PSNR: 49.18 MAXDIFF:   14 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores_444_int b/tests/ref/vsynth/vsynth2-prores_444_int
index 2be91529fd..a727bb2d23 100644
--- a/tests/ref/vsynth/vsynth2-prores_444_int
+++ b/tests/ref/vsynth/vsynth2-prores_444_int
@@ -1,4 +1,4 @@
-e2ed144e962883c2ac6549a42f7cfffe *tests/data/fate/vsynth2-prores_444_int.mov
-6420795 tests/data/fate/vsynth2-prores_444_int.mov
+500a8249bc63ec6bb79f816bce5b6db1 *tests/data/fate/vsynth2-prores_444_int.mov
+6420787 tests/data/fate/vsynth2-prores_444_int.mov
 33a5db4f0423168d4ae4f1db3610928e *tests/data/fate/vsynth2-prores_444_int.out.rawvideo
 stddev:    0.93 PSNR: 48.73 MAXDIFF:   14 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores_int b/tests/ref/vsynth/vsynth2-prores_int
index 18ead419a9..0f27acdca0 100644
--- a/tests/ref/vsynth/vsynth2-prores_int
+++ b/tests/ref/vsynth/vsynth2-prores_int
@@ -1,4 +1,4 @@
-49e61e5d822f77e816e26c05c4af6c15 *tests/data/fate/vsynth2-prores_int.mov
-4071004 tests/data/fate/vsynth2-prores_int.mov
+dd7835992e7a30b7be9014916411b5b3 *tests/data/fate/vsynth2-prores_int.mov
+4070996 tests/data/fate/vsynth2-prores_int.mov
 bef9e38387a1fbb1ce2e4401b6d41674 *tests/data/fate/vsynth2-prores_int.out.rawvideo
 stddev:    1.54 PSNR: 44.37 MAXDIFF:   13 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores_ks b/tests/ref/vsynth/vsynth2-prores_ks
index e1db6a36ae..5186f55b4f 100644
--- a/tests/ref/vsynth/vsynth2-prores_ks
+++ b/tests/ref/vsynth/vsynth2-prores_ks
@@ -1,4 +1,4 @@
-17713dd21efb55d01de681cd2e0c7bff *tests/data/fate/vsynth2-prores_ks.mov
-3868170 tests/data/fate/vsynth2-prores_ks.mov
+abde4f84a5e4060492e3d8fcb56f2467 *tests/data/fate/vsynth2-prores_ks.mov
+3868162 tests/data/fate/vsynth2-prores_ks.mov
 fe7ad707205c6100e9a3956d4e1c300e *tests/data/fate/vsynth2-prores_ks.out.rawvideo
 stddev:    1.17 PSNR: 46.72 MAXDIFF:   14 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-qtrle b/tests/ref/vsynth/vsynth2-qtrle
index d83aa6cee2..8593845d92 100644
--- a/tests/ref/vsynth/vsynth2-qtrle
+++ b/tests/ref/vsynth/vsynth2-qtrle
@@ -1,4 +1,4 @@
-08486f0cbd6687bf8ba35fd1bce6f36a *tests/data/fate/vsynth2-qtrle.mov
-14035934 tests/data/fate/vsynth2-qtrle.mov
+492bef0aea081c076307d668d94fb9c4 *tests/data/fate/vsynth2-qtrle.mov
+14035926 tests/data/fate/vsynth2-qtrle.mov
 32fae3e665407bb4317b3f90fedb903c *tests/data/fate/vsynth2-qtrle.out.rawvideo
 stddev:    1.54 PSNR: 44.37 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-qtrlegray b/tests/ref/vsynth/vsynth2-qtrlegray
index 2fb968d218..b92d245444 100644
--- a/tests/ref/vsynth/vsynth2-qtrlegray
+++ b/tests/ref/vsynth/vsynth2-qtrlegray
@@ -1,4 +1,4 @@
-79e316de6b0340f92d83599f65ab5763 *tests/data/fate/vsynth2-qtrlegray.mov
-4988380 tests/data/fate/vsynth2-qtrlegray.mov
+109c88cbb3528378c1e848e50cf1792d *tests/data/fate/vsynth2-qtrlegray.mov
+4988372 tests/data/fate/vsynth2-qtrlegray.mov
 510a92a21b552c51fcafab8188982f4d *tests/data/fate/vsynth2-qtrlegray.out.rawvideo
 stddev:   16.31 PSNR: 23.88 MAXDIFF:   89 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-svq1 b/tests/ref/vsynth/vsynth2-svq1
index 57d7ea8093..4a50775501 100644
--- a/tests/ref/vsynth/vsynth2-svq1
+++ b/tests/ref/vsynth/vsynth2-svq1
@@ -1,4 +1,4 @@
-189391f03e0a8966c98dcf57398e7107 *tests/data/fate/vsynth2-svq1.mov
-940297 tests/data/fate/vsynth2-svq1.mov
+1c12440c323bc8ace5464587b5369c4a *tests/data/fate/vsynth2-svq1.mov
+940289 tests/data/fate/vsynth2-svq1.mov
 a8cd3b833cd7f570ddbf1e6b3eb125b6 *tests/data/fate/vsynth2-svq1.out.rawvideo
 stddev:    3.71 PSNR: 36.72 MAXDIFF:  210 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-vc2-420p b/tests/ref/vsynth/vsynth2-vc2-420p
index 3b348fa4cd..28c1aedf73 100644
--- a/tests/ref/vsynth/vsynth2-vc2-420p
+++ b/tests/ref/vsynth/vsynth2-vc2-420p
@@ -1,4 +1,4 @@
-a86b60c641fa7c8c3e7123811df59c11 *tests/data/fate/vsynth2-vc2-420p.mov
-860751 tests/data/fate/vsynth2-vc2-420p.mov
+78daa3a27c0630aa37024121a43a7908 *tests/data/fate/vsynth2-vc2-420p.mov
+860743 tests/data/fate/vsynth2-vc2-420p.mov
 01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-420p10 b/tests/ref/vsynth/vsynth2-vc2-420p10
index b1ebedefd1..12b5fe022a 100644
--- a/tests/ref/vsynth/vsynth2-vc2-420p10
+++ b/tests/ref/vsynth/vsynth2-vc2-420p10
@@ -1,4 +1,4 @@
-052b0a7aa2a7c8a0f38744d779d0befe *tests/data/fate/vsynth2-vc2-420p10.mov
-1181279 tests/data/fate/vsynth2-vc2-420p10.mov
+e4627f308056d82de52a849b3a07b415 *tests/data/fate/vsynth2-vc2-420p10.mov
+1181271 tests/data/fate/vsynth2-vc2-420p10.mov
 01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p10.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-420p12 b/tests/ref/vsynth/vsynth2-vc2-420p12
index 0485b5d7cc..dc67229f69 100644
--- a/tests/ref/vsynth/vsynth2-vc2-420p12
+++ b/tests/ref/vsynth/vsynth2-vc2-420p12
@@ -1,4 +1,4 @@
-8a567424b2d9efaaef5a0fe9cf4226fa *tests/data/fate/vsynth2-vc2-420p12.mov
-1525087 tests/data/fate/vsynth2-vc2-420p12.mov
+8ff2cd721eae2e95d91568dde88a9970 *tests/data/fate/vsynth2-vc2-420p12.mov
+1525079 tests/data/fate/vsynth2-vc2-420p12.mov
 01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p12.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-422p b/tests/ref/vsynth/vsynth2-vc2-422p
index 8882897017..b53ca286b2 100644
--- a/tests/ref/vsynth/vsynth2-vc2-422p
+++ b/tests/ref/vsynth/vsynth2-vc2-422p
@@ -1,4 +1,4 @@
-8ee09c87d4bee4927b56fb50579a9665 *tests/data/fate/vsynth2-vc2-422p.mov
-1035215 tests/data/fate/vsynth2-vc2-422p.mov
+2a5213e25c03b60685e8467dfb11883c *tests/data/fate/vsynth2-vc2-422p.mov
+1035207 tests/data/fate/vsynth2-vc2-422p.mov
 c14eb0038a5dba9382f42f750d46ed3c *tests/data/fate/vsynth2-vc2-422p.out.rawvideo
 stddev:    0.35 PSNR: 57.21 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-422p10 b/tests/ref/vsynth/vsynth2-vc2-422p10
index e885834d9b..12b5bbe79b 100644
--- a/tests/ref/vsynth/vsynth2-vc2-422p10
+++ b/tests/ref/vsynth/vsynth2-vc2-422p10
@@ -1,4 +1,4 @@
-bda7b8d4300c720cdc240fc334b568a0 *tests/data/fate/vsynth2-vc2-422p10.mov
-1321695 tests/data/fate/vsynth2-vc2-422p10.mov
+6a99394db4353cc092e6bd9697e836ef *tests/data/fate/vsynth2-vc2-422p10.mov
+1321687 tests/data/fate/vsynth2-vc2-422p10.mov
 8f629e5cea24cc804d6aeadceacf0b2a *tests/data/fate/vsynth2-vc2-422p10.out.rawvideo
 stddev:    0.37 PSNR: 56.66 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-422p12 b/tests/ref/vsynth/vsynth2-vc2-422p12
index af8b090955..c1ac2216ed 100644
--- a/tests/ref/vsynth/vsynth2-vc2-422p12
+++ b/tests/ref/vsynth/vsynth2-vc2-422p12
@@ -1,4 +1,4 @@
-737aff1615dc4dcbe70f0f414ccd5b78 *tests/data/fate/vsynth2-vc2-422p12.mov
-1752543 tests/data/fate/vsynth2-vc2-422p12.mov
+ef1f1484a569008ba64803f25b06df54 *tests/data/fate/vsynth2-vc2-422p12.mov
+1752535 tests/data/fate/vsynth2-vc2-422p12.mov
 7241b922e7c17d14701567db6c743a9e *tests/data/fate/vsynth2-vc2-422p12.out.rawvideo
 stddev:    0.37 PSNR: 56.73 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-444p b/tests/ref/vsynth/vsynth2-vc2-444p
index 306e78354c..f356056a0f 100644
--- a/tests/ref/vsynth/vsynth2-vc2-444p
+++ b/tests/ref/vsynth/vsynth2-vc2-444p
@@ -1,4 +1,4 @@
-7ae600005ba7dab29cf597dcfa7f3fb2 *tests/data/fate/vsynth2-vc2-444p.mov
-1202394 tests/data/fate/vsynth2-vc2-444p.mov
+a2cae781cdec41c7128a6cc71fbf6b3b *tests/data/fate/vsynth2-vc2-444p.mov
+1202386 tests/data/fate/vsynth2-vc2-444p.mov
 6b35f3ddc3b52f4424237d4191a2461f *tests/data/fate/vsynth2-vc2-444p.out.rawvideo
 stddev:    0.44 PSNR: 55.07 MAXDIFF:   10 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-444p10 b/tests/ref/vsynth/vsynth2-vc2-444p10
index d3aa4c6e0a..7a94bcd9be 100644
--- a/tests/ref/vsynth/vsynth2-vc2-444p10
+++ b/tests/ref/vsynth/vsynth2-vc2-444p10
@@ -1,4 +1,4 @@
-e83f043b3decdc0b4b0f509e87605e35 *tests/data/fate/vsynth2-vc2-444p10.mov
-1603935 tests/data/fate/vsynth2-vc2-444p10.mov
+77b67d38ccb0d0e8d6c0af256afb1496 *tests/data/fate/vsynth2-vc2-444p10.mov
+1603927 tests/data/fate/vsynth2-vc2-444p10.mov
 d5c80ee1881a0306b0487e3c868529a3 *tests/data/fate/vsynth2-vc2-444p10.out.rawvideo
 stddev:    0.48 PSNR: 54.46 MAXDIFF:   10 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-444p12 b/tests/ref/vsynth/vsynth2-vc2-444p12
index 28158b2d51..fbd98ffe37 100644
--- a/tests/ref/vsynth/vsynth2-vc2-444p12
+++ b/tests/ref/vsynth/vsynth2-vc2-444p12
@@ -1,4 +1,4 @@
-e6ab58ad559245c28daa65e69fd1ede9 *tests/data/fate/vsynth2-vc2-444p12.mov
-2145507 tests/data/fate/vsynth2-vc2-444p12.mov
+1b535238247c0cdca338f2927e2c8c37 *tests/data/fate/vsynth2-vc2-444p12.mov
+2145499 tests/data/fate/vsynth2-vc2-444p12.mov
 38836be5c12b951c9b280d15fe3b31ce *tests/data/fate/vsynth2-vc2-444p12.out.rawvideo
 stddev:    0.48 PSNR: 54.46 MAXDIFF:   10 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-t5_3 b/tests/ref/vsynth/vsynth2-vc2-t5_3
index 6b7322d265..c4100acb5d 100644
--- a/tests/ref/vsynth/vsynth2-vc2-t5_3
+++ b/tests/ref/vsynth/vsynth2-vc2-t5_3
@@ -1,4 +1,4 @@
-c01e7c0e96712afcf3e0c0d6a240918a *tests/data/fate/vsynth2-vc2-t5_3.mov
-1335780 tests/data/fate/vsynth2-vc2-t5_3.mov
+89aa19c48c8f1ba7c418102706980efa *tests/data/fate/vsynth2-vc2-t5_3.mov
+1335772 tests/data/fate/vsynth2-vc2-t5_3.mov
 8f629e5cea24cc804d6aeadceacf0b2a *tests/data/fate/vsynth2-vc2-t5_3.out.rawvideo
 stddev:    0.37 PSNR: 56.66 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-thaar b/tests/ref/vsynth/vsynth2-vc2-thaar
index aac4621191..d4f37df740 100644
--- a/tests/ref/vsynth/vsynth2-vc2-thaar
+++ b/tests/ref/vsynth/vsynth2-vc2-thaar
@@ -1,4 +1,4 @@
-5e219be1a5ea04aed078b8986f1fca16 *tests/data/fate/vsynth2-vc2-thaar.mov
-1470308 tests/data/fate/vsynth2-vc2-thaar.mov
+866641af5f57980f9da4c78c105155f1 *tests/data/fate/vsynth2-vc2-thaar.mov
+1470300 tests/data/fate/vsynth2-vc2-thaar.mov
 8f629e5cea24cc804d6aeadceacf0b2a *tests/data/fate/vsynth2-vc2-thaar.out.rawvideo
 stddev:    0.37 PSNR: 56.66 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
index a3f48629d1..2a040e12db 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@
-c2cd508811526174c73dfdd5a0b0350d *tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
-4588399 tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
+4e6185e273297061def8e0b7fabff71b *tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
+4588391 tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
 c192f36ef8687e56c72a3dc416c7e191 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr
index f254ce7c5d..093489e45f 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr
@@ -1,4 +1,4 @@
-32a8875b393ddabf4202fd28861202e6 *tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
-3031937 tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
+f5a7d7f837a750784458c60fb7b4d091 *tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
+3031929 tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
 f907fd2d48bedbc5283fbfc3fb9f61a0 *tests/data/fate/vsynth3-dnxhd-1080i-colr.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
index 5c8a633d03..a5808dd773 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@
-3ae87939eb1a279e9b2629772137cc22 *tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
-4772607 tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
+1b9e337636198690850f102c7a987eae *tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
+4772599 tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
 aa2e6c13a1e7760a22fccfca9faacdf3 *tests/data/fate/vsynth3-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
index b678479fd9..7a888c5b01 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@
-7e9af43a25da9aa0cb75e783fc60edf4 *tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
-3748607 tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
+1ac0627cfcad3df568026aea4696901f *tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
+3748599 tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
 1a4d12fd893e4585944dd9c68fb23edf *tests/data/fate/vsynth3-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
index 7a67d50e06..bd94e686c0 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@
-c503f9daa8cb94b1217a3acf22f68a34 *tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
-2560771 tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
+3b1420fc4cb6de03ea4a7858f5a0438e *tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
+2560763 tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
 730c00cc5a24e13ee99a75789806cb28 *tests/data/fate/vsynth3-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    6.91 PSNR: 31.33 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-mov-bgr24 b/tests/ref/vsynth/vsynth3-mov-bgr24
index 2e58466a19..4fc3cc979f 100644
--- a/tests/ref/vsynth/vsynth3-mov-bgr24
+++ b/tests/ref/vsynth/vsynth3-mov-bgr24
@@ -1,4 +1,4 @@
-727e00051121c661ef93647d6a8a3ab1 *tests/data/fate/vsynth3-mov-bgr24.mov
-174101 tests/data/fate/vsynth3-mov-bgr24.mov
+0141cd3b6e8eea836d392adf6949afc4 *tests/data/fate/vsynth3-mov-bgr24.mov
+174093 tests/data/fate/vsynth3-mov-bgr24.mov
 693aff10c094f8bd31693f74cf79d2b2 *tests/data/fate/vsynth3-mov-bgr24.out.rawvideo
 stddev:    3.67 PSNR: 36.82 MAXDIFF:   43 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-mov-bpp15 b/tests/ref/vsynth/vsynth3-mov-bpp15
index 38d35b8ee2..4c289cf161 100644
--- a/tests/ref/vsynth/vsynth3-mov-bpp15
+++ b/tests/ref/vsynth/vsynth3-mov-bpp15
@@ -1,4 +1,4 @@
-86bb3740ba00f6a4db7fbed3cee37ad1 *tests/data/fate/vsynth3-mov-bpp15.mov
-116301 tests/data/fate/vsynth3-mov-bpp15.mov
+96e1406b041b16e9598092d928ea9d3e *tests/data/fate/vsynth3-mov-bpp15.mov
+116293 tests/data/fate/vsynth3-mov-bpp15.mov
 19f61c34cbdef98b0f4aca6c19f59ed4 *tests/data/fate/vsynth3-mov-bpp15.out.rawvideo
 stddev:    4.35 PSNR: 35.35 MAXDIFF:   46 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-mov-bpp16 b/tests/ref/vsynth/vsynth3-mov-bpp16
index ec2ed8fe53..55537d4bfd 100644
--- a/tests/ref/vsynth/vsynth3-mov-bpp16
+++ b/tests/ref/vsynth/vsynth3-mov-bpp16
@@ -1,4 +1,4 @@
-a00d69d3377ad23f3ea6f45cc606ef51 *tests/data/fate/vsynth3-mov-bpp16.mov
-116301 tests/data/fate/vsynth3-mov-bpp16.mov
+65b51e9a83da767fae244fd6816f2bc7 *tests/data/fate/vsynth3-mov-bpp16.mov
+116293 tests/data/fate/vsynth3-mov-bpp16.mov
 756f68dd5412d245d4bbeda7b5d51829 *tests/data/fate/vsynth3-mov-bpp16.out.rawvideo
 stddev:    4.07 PSNR: 35.93 MAXDIFF:   46 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-mpeg4 b/tests/ref/vsynth/vsynth3-mpeg4
index e4761d1e4a..02cf68d55d 100644
--- a/tests/ref/vsynth/vsynth3-mpeg4
+++ b/tests/ref/vsynth/vsynth3-mpeg4
@@ -1,4 +1,4 @@
-7c9a4849ca0dd40729d89be73f787ece *tests/data/fate/vsynth3-mpeg4.mp4
-26021 tests/data/fate/vsynth3-mpeg4.mp4
+ddcff996543900496f0b374a2d5cae74 *tests/data/fate/vsynth3-mpeg4.mp4
+26017 tests/data/fate/vsynth3-mpeg4.mp4
 fc0d8c1e58d254031e6207dfcae8f867 *tests/data/fate/vsynth3-mpeg4.out.rawvideo
 stddev:    9.66 PSNR: 28.43 MAXDIFF:   79 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores b/tests/ref/vsynth/vsynth3-prores
index bbd6fd07fc..8dfaf09d26 100644
--- a/tests/ref/vsynth/vsynth3-prores
+++ b/tests/ref/vsynth/vsynth3-prores
@@ -1,4 +1,4 @@
-879b629ba67fa2902a5971e982aa08d4 *tests/data/fate/vsynth3-prores.mov
-105375 tests/data/fate/vsynth3-prores.mov
+3e6f1fd0e4fdad4a8dd351dec08b0bf5 *tests/data/fate/vsynth3-prores.mov
+105367 tests/data/fate/vsynth3-prores.mov
 fff5e7ad21d78501c8fa4749bf4bf289 *tests/data/fate/vsynth3-prores.out.rawvideo
 stddev:    2.80 PSNR: 39.17 MAXDIFF:   27 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores_444 b/tests/ref/vsynth/vsynth3-prores_444
index d56800d08f..f05894b33e 100644
--- a/tests/ref/vsynth/vsynth3-prores_444
+++ b/tests/ref/vsynth/vsynth3-prores_444
@@ -1,4 +1,4 @@
-b7fa2d58a94c196df09bc9299174473d *tests/data/fate/vsynth3-prores_444.mov
-159135 tests/data/fate/vsynth3-prores_444.mov
+3070da65c30c1a9905ee31c7ede1cf57 *tests/data/fate/vsynth3-prores_444.mov
+159127 tests/data/fate/vsynth3-prores_444.mov
 025b48feb3d9a9652983ef71e6cb7e7c *tests/data/fate/vsynth3-prores_444.out.rawvideo
 stddev:    3.21 PSNR: 37.98 MAXDIFF:   41 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores_444_int b/tests/ref/vsynth/vsynth3-prores_444_int
index f14111735b..f6ba6bc282 100644
--- a/tests/ref/vsynth/vsynth3-prores_444_int
+++ b/tests/ref/vsynth/vsynth3-prores_444_int
@@ -1,4 +1,4 @@
-3258fbb5af9415931233c6f4c7d4242d *tests/data/fate/vsynth3-prores_444_int.mov
-184405 tests/data/fate/vsynth3-prores_444_int.mov
+c6279e0584575ffa1e2e13047cc7ecec *tests/data/fate/vsynth3-prores_444_int.mov
+184397 tests/data/fate/vsynth3-prores_444_int.mov
 a8852aa2841c2ce5f2aa86176ceda4ef *tests/data/fate/vsynth3-prores_444_int.out.rawvideo
 stddev:    3.24 PSNR: 37.91 MAXDIFF:   41 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores_int b/tests/ref/vsynth/vsynth3-prores_int
index e335d74b84..c9b8ba691d 100644
--- a/tests/ref/vsynth/vsynth3-prores_int
+++ b/tests/ref/vsynth/vsynth3-prores_int
@@ -1,4 +1,4 @@
-d2c4b924c32e1384ecf22d84e9a8525a *tests/data/fate/vsynth3-prores_int.mov
-120492 tests/data/fate/vsynth3-prores_int.mov
+6085fc27cc6cc7c02abc59ce914d85cb *tests/data/fate/vsynth3-prores_int.mov
+120484 tests/data/fate/vsynth3-prores_int.mov
 e5859ba47a99f9e53c1ddcaa68a8f8f8 *tests/data/fate/vsynth3-prores_int.out.rawvideo
 stddev:    2.92 PSNR: 38.81 MAXDIFF:   29 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores_ks b/tests/ref/vsynth/vsynth3-prores_ks
index dfc2567569..561ee48dee 100644
--- a/tests/ref/vsynth/vsynth3-prores_ks
+++ b/tests/ref/vsynth/vsynth3-prores_ks
@@ -1,4 +1,4 @@
-580d2ebac89bc61c860d011492fc21ae *tests/data/fate/vsynth3-prores_ks.mov
-95061 tests/data/fate/vsynth3-prores_ks.mov
+f6ce1e8e2272cea0592d3f969d48c1de *tests/data/fate/vsynth3-prores_ks.mov
+95053 tests/data/fate/vsynth3-prores_ks.mov
 9ab6d3e3cc7749796cd9fa984c60d890 *tests/data/fate/vsynth3-prores_ks.out.rawvideo
 stddev:    4.09 PSNR: 35.88 MAXDIFF:   35 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-qtrle b/tests/ref/vsynth/vsynth3-qtrle
index 7ae1056416..2056e1b7e2 100644
--- a/tests/ref/vsynth/vsynth3-qtrle
+++ b/tests/ref/vsynth/vsynth3-qtrle
@@ -1,4 +1,4 @@
-af0c1c5eceb917a3d9a623e1c1883234 *tests/data/fate/vsynth3-qtrle.mov
-179664 tests/data/fate/vsynth3-qtrle.mov
+b9152e4c2931818140086903c9d9a8ae *tests/data/fate/vsynth3-qtrle.mov
+179656 tests/data/fate/vsynth3-qtrle.mov
 693aff10c094f8bd31693f74cf79d2b2 *tests/data/fate/vsynth3-qtrle.out.rawvideo
 stddev:    3.67 PSNR: 36.82 MAXDIFF:   43 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-svq1 b/tests/ref/vsynth/vsynth3-svq1
index e1b2459e37..e760abbdb4 100644
--- a/tests/ref/vsynth/vsynth3-svq1
+++ b/tests/ref/vsynth/vsynth3-svq1
@@ -1,4 +1,4 @@
-baf370183dbc2d3c91bfa73bf70027db *tests/data/fate/vsynth3-svq1.mov
-40781 tests/data/fate/vsynth3-svq1.mov
+1972e0df8be667443992e405cceec291 *tests/data/fate/vsynth3-svq1.mov
+40773 tests/data/fate/vsynth3-svq1.mov
 a1e5334cf67649bf8c7d95dc4d1bf148 *tests/data/fate/vsynth3-svq1.out.rawvideo
 stddev:   14.49 PSNR: 24.91 MAXDIFF:  183 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth_lena-avui b/tests/ref/vsynth/vsynth_lena-avui
index 3d5bb33e54..f4e5ef9433 100644
--- a/tests/ref/vsynth/vsynth_lena-avui
+++ b/tests/ref/vsynth/vsynth_lena-avui
@@ -1,4 +1,4 @@
-5345475fe409d057ecd7f465561e62cf *tests/data/fate/vsynth_lena-avui.mov
-42625045 tests/data/fate/vsynth_lena-avui.mov
+7b670636544a60f4fb2c153e3caabdee *tests/data/fate/vsynth_lena-avui.mov
+42625037 tests/data/fate/vsynth_lena-avui.mov
 dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth_lena-avui.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i
index 020ac70458..ae5c515165 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i
@@ -1,4 +1,4 @@
-d9d3439a1f077e1d31947bd2a2aca0e1 *tests/data/fate/vsynth_lena-dnxhd-1080i.mov
-3031919 tests/data/fate/vsynth_lena-dnxhd-1080i.mov
+1bb94b5a7917c1d81f3a92dd9b5b66ae *tests/data/fate/vsynth_lena-dnxhd-1080i.mov
+3031911 tests/data/fate/vsynth_lena-dnxhd-1080i.mov
 7d0ca92f12711535d57eff3609462b31 *tests/data/fate/vsynth_lena-dnxhd-1080i.out.rawvideo
 stddev:    1.29 PSNR: 45.87 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
index ae19fafe73..5112f2a379 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@
-aca9e9d4f0bd571fc0cbc0f2465c3f38 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
-4588399 tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
+55e1097376ac44e916528eee5ee2266e *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
+4588391 tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
 f2dc4375c58e0406d442e0cb28573e91 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.out.rawvideo
 stddev:    1.36 PSNR: 45.40 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr
index 6c16b7101b..ae855cd461 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr
@@ -1,4 +1,4 @@
-6ead8cd47a691dd655ce16d75073f59e *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
-3031937 tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
+3a681c0e174ccf85fe1504cdf8546788 *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
+3031929 tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
 ce4993a69ef55c8c4b18138716f17b6f *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.out.rawvideo
 stddev:    1.33 PSNR: 45.59 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
index ea4bc19bf9..2d58c5e7a7 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@
-12b430b430fedfe1a79dd6b82648823c *tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
-4772607 tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
+f19dfcd4d9d7a0da1131c0dd909ad0ae *tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
+4772599 tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
 e6c3531cb32eb3d0c465c44098746fea *tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    1.34 PSNR: 45.54 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
index 8f4c530042..9047805561 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@
-fbb1d9af7ad39310b42f28fb226f4059 *tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
-3748607 tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
+f27068c1444d2e11e094fab37eceb9d5 *tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
+3748599 tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
 0951de00b90d1bf34d2ff10a51db705d *tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    1.31 PSNR: 45.72 MAXDIFF:   21 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
index 1e44b16614..9a2db8a888 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@
-c984222a50df2ccc0934a759ed131b51 *tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
-2560771 tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
+b1d5da9fd4811b87b1bf05afee6e44e4 *tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
+2560763 tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
 95e7da46fc066ed795de4ec1cf4d4ab5 *tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    1.35 PSNR: 45.51 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-mov-bgr24 b/tests/ref/vsynth/vsynth_lena-mov-bgr24
index 68454480a1..098dd91258 100644
--- a/tests/ref/vsynth/vsynth_lena-mov-bgr24
+++ b/tests/ref/vsynth/vsynth_lena-mov-bgr24
@@ -1,4 +1,4 @@
-dd421781401d31e8733707b6d4be6696 *tests/data/fate/vsynth_lena-mov-bgr24.mov
-15207177 tests/data/fate/vsynth_lena-mov-bgr24.mov
+3656f10647727ff16119ad54e11ed09d *tests/data/fate/vsynth_lena-mov-bgr24.mov
+15207169 tests/data/fate/vsynth_lena-mov-bgr24.mov
 98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth_lena-mov-bgr24.out.rawvideo
 stddev:    1.26 PSNR: 46.10 MAXDIFF:   13 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-mov-bpp15 b/tests/ref/vsynth/vsynth_lena-mov-bpp15
index 6682769ab7..7a61797ef2 100644
--- a/tests/ref/vsynth/vsynth_lena-mov-bpp15
+++ b/tests/ref/vsynth/vsynth_lena-mov-bpp15
@@ -1,4 +1,4 @@
-9274b8bfaf2ff31d0bb9fb895fe2e55a *tests/data/fate/vsynth_lena-mov-bpp15.mov
-10138337 tests/data/fate/vsynth_lena-mov-bpp15.mov
+846672fbdf449e0345cec63e1611661a *tests/data/fate/vsynth_lena-mov-bpp15.mov
+10138329 tests/data/fate/vsynth_lena-mov-bpp15.mov
 be0e64bdf519ce1097613063804eded9 *tests/data/fate/vsynth_lena-mov-bpp15.out.rawvideo
 stddev:    2.16 PSNR: 41.43 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-mov-bpp16 b/tests/ref/vsynth/vsynth_lena-mov-bpp16
index e0ef65b0cc..4e4cb44daa 100644
--- a/tests/ref/vsynth/vsynth_lena-mov-bpp16
+++ b/tests/ref/vsynth/vsynth_lena-mov-bpp16
@@ -1,4 +1,4 @@
-7ef60fec80d7bb97a1bf88e9ecc7951a *tests/data/fate/vsynth_lena-mov-bpp16.mov
-10138337 tests/data/fate/vsynth_lena-mov-bpp16.mov
+f425fe7f36bd821d4afa260088542cf9 *tests/data/fate/vsynth_lena-mov-bpp16.mov
+10138329 tests/data/fate/vsynth_lena-mov-bpp16.mov
 789bfa1dc2a72f498928f2ae85e461c3 *tests/data/fate/vsynth_lena-mov-bpp16.out.rawvideo
 stddev:    1.76 PSNR: 43.18 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-mpeg4 b/tests/ref/vsynth/vsynth_lena-mpeg4
index 592f3a910a..8d8cccef40 100644
--- a/tests/ref/vsynth/vsynth_lena-mpeg4
+++ b/tests/ref/vsynth/vsynth_lena-mpeg4
@@ -1,4 +1,4 @@
-6ebd99ff9439b85451395978076ef255 *tests/data/fate/vsynth_lena-mpeg4.mp4
-119726 tests/data/fate/vsynth_lena-mpeg4.mp4
+4a029747434d24d128b078a5e6aa1e88 *tests/data/fate/vsynth_lena-mpeg4.mp4
+119722 tests/data/fate/vsynth_lena-mpeg4.mp4
 9a1e085d9e488c5ead0c940c9612a37a *tests/data/fate/vsynth_lena-mpeg4.out.rawvideo
 stddev:    5.34 PSNR: 33.57 MAXDIFF:   83 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores b/tests/ref/vsynth/vsynth_lena-prores
index 0e8cef2da1..573fc1273e 100644
--- a/tests/ref/vsynth/vsynth_lena-prores
+++ b/tests/ref/vsynth/vsynth_lena-prores
@@ -1,4 +1,4 @@
-c08b57ba4fd6bb30f964d5d0ea3ce0ff *tests/data/fate/vsynth_lena-prores.mov
-2844084 tests/data/fate/vsynth_lena-prores.mov
+eed04261f5d5878ea3b91321420270a0 *tests/data/fate/vsynth_lena-prores.mov
+2844076 tests/data/fate/vsynth_lena-prores.mov
 03fd29e3963716a09d232b6f817ecb57 *tests/data/fate/vsynth_lena-prores.out.rawvideo
 stddev:    1.31 PSNR: 45.77 MAXDIFF:   11 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores_444 b/tests/ref/vsynth/vsynth_lena-prores_444
index 7ddda09789..29141239c5 100644
--- a/tests/ref/vsynth/vsynth_lena-prores_444
+++ b/tests/ref/vsynth/vsynth_lena-prores_444
@@ -1,4 +1,4 @@
-8b9f29775aa61ebcee9062d5b54e3846 *tests/data/fate/vsynth_lena-prores_444.mov
-4734403 tests/data/fate/vsynth_lena-prores_444.mov
+b8677f9e1da7be861e8b7207028b3a9e *tests/data/fate/vsynth_lena-prores_444.mov
+4734395 tests/data/fate/vsynth_lena-prores_444.mov
 a704e05e3e0a451edef7515b25a76bb8 *tests/data/fate/vsynth_lena-prores_444.out.rawvideo
 stddev:    0.81 PSNR: 49.88 MAXDIFF:    8 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores_444_int b/tests/ref/vsynth/vsynth_lena-prores_444_int
index d4dceea469..005ab68ccf 100644
--- a/tests/ref/vsynth/vsynth_lena-prores_444_int
+++ b/tests/ref/vsynth/vsynth_lena-prores_444_int
@@ -1,4 +1,4 @@
-e431b85482d601c2a70d4122bfefbaf6 *tests/data/fate/vsynth_lena-prores_444_int.mov
-5696266 tests/data/fate/vsynth_lena-prores_444_int.mov
+38195b0437f6ae1c910ba108e7a799d1 *tests/data/fate/vsynth_lena-prores_444_int.mov
+5696258 tests/data/fate/vsynth_lena-prores_444_int.mov
 466380156e4d2b811f4ffb9c5a8bca72 *tests/data/fate/vsynth_lena-prores_444_int.out.rawvideo
 stddev:    0.88 PSNR: 49.23 MAXDIFF:    9 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores_int b/tests/ref/vsynth/vsynth_lena-prores_int
index be93367ff3..3e31b018d7 100644
--- a/tests/ref/vsynth/vsynth_lena-prores_int
+++ b/tests/ref/vsynth/vsynth_lena-prores_int
@@ -1,4 +1,4 @@
-5250514c807c3f95c08898221c439064 *tests/data/fate/vsynth_lena-prores_int.mov
-3532706 tests/data/fate/vsynth_lena-prores_int.mov
+f45bc9026780bbbcdbbcc0d54c21ef06 *tests/data/fate/vsynth_lena-prores_int.mov
+3532698 tests/data/fate/vsynth_lena-prores_int.mov
 eb5caa9824ca294f403cd13f33c40f23 *tests/data/fate/vsynth_lena-prores_int.out.rawvideo
 stddev:    1.47 PSNR: 44.78 MAXDIFF:   12 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores_ks b/tests/ref/vsynth/vsynth_lena-prores_ks
index 660207da10..333578bc1e 100644
--- a/tests/ref/vsynth/vsynth_lena-prores_ks
+++ b/tests/ref/vsynth/vsynth_lena-prores_ks
@@ -1,4 +1,4 @@
-c2419af521d026d3adc03c377302bb0e *tests/data/fate/vsynth_lena-prores_ks.mov
-3884604 tests/data/fate/vsynth_lena-prores_ks.mov
+86b9932d5f78d0b5836533e972a37a65 *tests/data/fate/vsynth_lena-prores_ks.mov
+3884596 tests/data/fate/vsynth_lena-prores_ks.mov
 6cfe987de99cf8ac9d43bdc5cd150838 *tests/data/fate/vsynth_lena-prores_ks.out.rawvideo
 stddev:    0.92 PSNR: 48.78 MAXDIFF:   10 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-qtrle b/tests/ref/vsynth/vsynth_lena-qtrle
index 593a5014e0..f426fe0ab6 100644
--- a/tests/ref/vsynth/vsynth_lena-qtrle
+++ b/tests/ref/vsynth/vsynth_lena-qtrle
@@ -1,4 +1,4 @@
-b3ae060d407cc36ab83f42102efce56f *tests/data/fate/vsynth_lena-qtrle.mov
-14798353 tests/data/fate/vsynth_lena-qtrle.mov
+513ca7d64af25676f5f99f00e2287ced *tests/data/fate/vsynth_lena-qtrle.mov
+14798345 tests/data/fate/vsynth_lena-qtrle.mov
 98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth_lena-qtrle.out.rawvideo
 stddev:    1.26 PSNR: 46.10 MAXDIFF:   13 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-qtrlegray b/tests/ref/vsynth/vsynth_lena-qtrlegray
index df6d4dca46..e0c18c9702 100644
--- a/tests/ref/vsynth/vsynth_lena-qtrlegray
+++ b/tests/ref/vsynth/vsynth_lena-qtrlegray
@@ -1,4 +1,4 @@
-c7205dfd16a323064829329cf8bf3f26 *tests/data/fate/vsynth_lena-qtrlegray.mov
-5111291 tests/data/fate/vsynth_lena-qtrlegray.mov
+8db6b52b706a91f483c37eaa2f011cfe *tests/data/fate/vsynth_lena-qtrlegray.mov
+5111283 tests/data/fate/vsynth_lena-qtrlegray.mov
 d7bfbe259af9ae323bb94b09c33570a5 *tests/data/fate/vsynth_lena-qtrlegray.out.rawvideo
 stddev:   18.65 PSNR: 22.72 MAXDIFF:   72 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-svq1 b/tests/ref/vsynth/vsynth_lena-svq1
index 5b3723c744..01c1b06c74 100644
--- a/tests/ref/vsynth/vsynth_lena-svq1
+++ b/tests/ref/vsynth/vsynth_lena-svq1
@@ -1,4 +1,4 @@
-39d704da7766f25a4e0a158dba399578 *tests/data/fate/vsynth_lena-svq1.mov
-766709 tests/data/fate/vsynth_lena-svq1.mov
+a6398d8fd306cfe96dc41060335e67e8 *tests/data/fate/vsynth_lena-svq1.mov
+766701 tests/data/fate/vsynth_lena-svq1.mov
 aa03471dac3f49455a33a2b19fda1098 *tests/data/fate/vsynth_lena-svq1.out.rawvideo
 stddev:    3.23 PSNR: 37.93 MAXDIFF:   61 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p b/tests/ref/vsynth/vsynth_lena-vc2-420p
index c8aff97c85..cdaca3c832 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-420p
+++ b/tests/ref/vsynth/vsynth_lena-vc2-420p
@@ -1,4 +1,4 @@
-53d042a7529739dd10b2fdd592d4e730 *tests/data/fate/vsynth_lena-vc2-420p.mov
-849743 tests/data/fate/vsynth_lena-vc2-420p.mov
+9e1e6da4f166d6d4998923ad52d047c9 *tests/data/fate/vsynth_lena-vc2-420p.mov
+849735 tests/data/fate/vsynth_lena-vc2-420p.mov
 b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p10 b/tests/ref/vsynth/vsynth_lena-vc2-420p10
index 7fb4373408..8ddb6acb5e 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-420p10
+++ b/tests/ref/vsynth/vsynth_lena-vc2-420p10
@@ -1,4 +1,4 @@
-790a411c8ea8e47c390549fda22194b7 *tests/data/fate/vsynth_lena-vc2-420p10.mov
-1154783 tests/data/fate/vsynth_lena-vc2-420p10.mov
+b989bdb42043851048f4b489463e585d *tests/data/fate/vsynth_lena-vc2-420p10.mov
+1154775 tests/data/fate/vsynth_lena-vc2-420p10.mov
 b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p10.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p12 b/tests/ref/vsynth/vsynth_lena-vc2-420p12
index b2a92926d0..efbb72964c 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-420p12
+++ b/tests/ref/vsynth/vsynth_lena-vc2-420p12
@@ -1,4 +1,4 @@
-53e19d34f8b8dbf55c9557f110ccdc13 *tests/data/fate/vsynth_lena-vc2-420p12.mov
-1516767 tests/data/fate/vsynth_lena-vc2-420p12.mov
+98c9ce4afcbedb6634b10dcba9e5d8ec *tests/data/fate/vsynth_lena-vc2-420p12.mov
+1516759 tests/data/fate/vsynth_lena-vc2-420p12.mov
 b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p12.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p b/tests/ref/vsynth/vsynth_lena-vc2-422p
index 131bd6cfc7..388b80e97a 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-422p
+++ b/tests/ref/vsynth/vsynth_lena-vc2-422p
@@ -1,4 +1,4 @@
-149292087c690ebee2685ad660578a11 *tests/data/fate/vsynth_lena-vc2-422p.mov
-1049295 tests/data/fate/vsynth_lena-vc2-422p.mov
+f326f79e00a1499a4e387d01ea07b812 *tests/data/fate/vsynth_lena-vc2-422p.mov
+1049287 tests/data/fate/vsynth_lena-vc2-422p.mov
 c4b2e69278c822f22655344068ea486d *tests/data/fate/vsynth_lena-vc2-422p.out.rawvideo
 stddev:    0.26 PSNR: 59.82 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p10 b/tests/ref/vsynth/vsynth_lena-vc2-422p10
index 098714234e..e521da43e0 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-422p10
+++ b/tests/ref/vsynth/vsynth_lena-vc2-422p10
@@ -1,4 +1,4 @@
-1c040bae98ddba36c07fb81b00a1850c *tests/data/fate/vsynth_lena-vc2-422p10.mov
-1294047 tests/data/fate/vsynth_lena-vc2-422p10.mov
+b5a757abdf6e7e2a777520ecf99107b7 *tests/data/fate/vsynth_lena-vc2-422p10.mov
+1294039 tests/data/fate/vsynth_lena-vc2-422p10.mov
 e5ea17416bda234ae58f27dea27e8135 *tests/data/fate/vsynth_lena-vc2-422p10.out.rawvideo
 stddev:    0.30 PSNR: 58.58 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p12 b/tests/ref/vsynth/vsynth_lena-vc2-422p12
index a120e99b24..3cf50b4da6 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-422p12
+++ b/tests/ref/vsynth/vsynth_lena-vc2-422p12
@@ -1,4 +1,4 @@
-4d6b981ff48f4434b59d8f64e82c1841 *tests/data/fate/vsynth_lena-vc2-422p12.mov
-1768035 tests/data/fate/vsynth_lena-vc2-422p12.mov
+c2ec3fa0b1faf0cfdbee4410655037a0 *tests/data/fate/vsynth_lena-vc2-422p12.mov
+1768027 tests/data/fate/vsynth_lena-vc2-422p12.mov
 bd374304997834410a69ee6c6e047d19 *tests/data/fate/vsynth_lena-vc2-422p12.out.rawvideo
 stddev:    0.29 PSNR: 58.76 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p b/tests/ref/vsynth/vsynth_lena-vc2-444p
index 37ada18794..1f9a9602a7 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-444p
+++ b/tests/ref/vsynth/vsynth_lena-vc2-444p
@@ -1,4 +1,4 @@
-42efc6598185a6235523674838ded276 *tests/data/fate/vsynth_lena-vc2-444p.mov
-1174746 tests/data/fate/vsynth_lena-vc2-444p.mov
+37eb0398cf913a66e0f628d6419775b5 *tests/data/fate/vsynth_lena-vc2-444p.mov
+1174738 tests/data/fate/vsynth_lena-vc2-444p.mov
 f9306b14ff827ced1a992301d1ab02ca *tests/data/fate/vsynth_lena-vc2-444p.out.rawvideo
 stddev:    0.38 PSNR: 56.43 MAXDIFF:    6 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p10 b/tests/ref/vsynth/vsynth_lena-vc2-444p10
index 4409d5e847..05d69169d5 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-444p10
+++ b/tests/ref/vsynth/vsynth_lena-vc2-444p10
@@ -1,4 +1,4 @@
-156911dcc16ca67dbcc900a13ed305b4 *tests/data/fate/vsynth_lena-vc2-444p10.mov
-1577823 tests/data/fate/vsynth_lena-vc2-444p10.mov
+c0de26ba4c95df2e07ab249158fa947c *tests/data/fate/vsynth_lena-vc2-444p10.mov
+1577815 tests/data/fate/vsynth_lena-vc2-444p10.mov
 da13c67fe1c6d98dd73e92a6ba006edc *tests/data/fate/vsynth_lena-vc2-444p10.out.rawvideo
 stddev:    0.42 PSNR: 55.56 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p12 b/tests/ref/vsynth/vsynth_lena-vc2-444p12
index 13aac3d417..7d4f9b6a79 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-444p12
+++ b/tests/ref/vsynth/vsynth_lena-vc2-444p12
@@ -1,4 +1,4 @@
-0dbe02d8b43f6e5ec0c4c54454e24281 *tests/data/fate/vsynth_lena-vc2-444p12.mov
-2134883 tests/data/fate/vsynth_lena-vc2-444p12.mov
+effbd39862492bb3f81973ddce70a1d7 *tests/data/fate/vsynth_lena-vc2-444p12.mov
+2134875 tests/data/fate/vsynth_lena-vc2-444p12.mov
 a505434ec95362772a57d274f63a3f5a *tests/data/fate/vsynth_lena-vc2-444p12.out.rawvideo
 stddev:    0.42 PSNR: 55.58 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-t5_3 b/tests/ref/vsynth/vsynth_lena-vc2-t5_3
index 9002df1ea0..50a60d7e23 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-t5_3
+++ b/tests/ref/vsynth/vsynth_lena-vc2-t5_3
@@ -1,4 +1,4 @@
-e1cfa3316451406bfa8a83b74635c8e0 *tests/data/fate/vsynth_lena-vc2-t5_3.mov
-1305444 tests/data/fate/vsynth_lena-vc2-t5_3.mov
+950197d63d02f51021c0ed238b44181b *tests/data/fate/vsynth_lena-vc2-t5_3.mov
+1305436 tests/data/fate/vsynth_lena-vc2-t5_3.mov
 e5ea17416bda234ae58f27dea27e8135 *tests/data/fate/vsynth_lena-vc2-t5_3.out.rawvideo
 stddev:    0.30 PSNR: 58.58 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-thaar b/tests/ref/vsynth/vsynth_lena-vc2-thaar
index 7c9c9f95e8..31be2836a9 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-thaar
+++ b/tests/ref/vsynth/vsynth_lena-vc2-thaar
@@ -1,4 +1,4 @@
-fafffd87b95b64919481026471c352f4 *tests/data/fate/vsynth_lena-vc2-thaar.mov
-1431780 tests/data/fate/vsynth_lena-vc2-thaar.mov
+33a539a633dba8051c65c61564c578fd *tests/data/fate/vsynth_lena-vc2-thaar.mov
+1431772 tests/data/fate/vsynth_lena-vc2-thaar.mov
 e5ea17416bda234ae58f27dea27e8135 *tests/data/fate/vsynth_lena-vc2-thaar.out.rawvideo
 stddev:    0.30 PSNR: 58.58 MAXDIFF:    5 bytes:  7603200/   760320




More information about the ffmpeg-cvslog mailing list