---
tests/fate/seek.mak | 55 ++++++++++++++++++++++++-----------------------
tests/ref/lavf/aiff | 6 +++---
tests/ref/lavf/al | 6 +++---
tests/ref/lavf/asf | 6 +++---
tests/ref/lavf/au | 6 +++---
tests/ref/lavf/avi | 6 +++---
tests/ref/lavf/dv | 6 +++---
tests/ref/lavf/flv | 6 +++---
tests/ref/lavf/gif | 6 +++---
tests/ref/lavf/gxf | 6 +++---
tests/ref/lavf/mkv | 6 +++---
tests/ref/lavf/mmf | 6 +++---
tests/ref/lavf/mov | 6 +++---
tests/ref/lavf/mpg | 6 +++---
tests/ref/lavf/mxf | 6 +++---
tests/ref/lavf/mxf_d10 | 6 +++---
tests/ref/lavf/nut | 6 +++---
tests/ref/lavf/ogg | 6 +++---
tests/ref/lavf/pbmpipe | 6 +++---
tests/ref/lavf/pgmpipe | 6 +++---
tests/ref/lavf/ppmpipe | 6 +++---
tests/ref/lavf/rm | 4 ++--
tests/ref/lavf/rso | 6 +++---
tests/ref/lavf/sox | 6 +++---
tests/ref/lavf/swf | 6 +++---
tests/ref/lavf/ts | 6 +++---
tests/ref/lavf/ul | 6 +++---
tests/ref/lavf/voc | 6 +++---
tests/ref/lavf/voc_s16 | 6 +++---
tests/ref/lavf/wav | 6 +++---
tests/ref/lavf/y4m | 6 +++---
tests/regression-funcs.sh | 5 +----
32 files changed, 118 insertions(+), 120 deletions(-)
diff --git a/tests/fate/seek.mak b/tests/fate/seek.mak
index c7e56f811a..23adb50254 100644
--- a/tests/fate/seek.mak
+++ b/tests/fate/seek.mak
@@ -180,41 +180,42 @@ FATE_SEEK_LAVF-$(call ENCDEC, PCM_U8, VOC) += voc
FATE_SEEK_LAVF-$(call ENCDEC, PCM_S16LE, WAV) += wav
FATE_SEEK_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER) += y4m
-fate-seek-lavf-aiff: SRC = lavf/lavf.aiff
-fate-seek-lavf-al: SRC = lavf/lavf.al
-fate-seek-lavf-asf: SRC = lavf/lavf.asf
-fate-seek-lavf-au: SRC = lavf/lavf.au
-fate-seek-lavf-avi: SRC = lavf/lavf.avi
+fate-seek-lavf-aiff: SRC = fate/lavf.aiff
+fate-seek-lavf-al: SRC = fate/lavf.al
+fate-seek-lavf-asf: SRC = fate/lavf.asf
+fate-seek-lavf-au: SRC = fate/lavf.au
+fate-seek-lavf-avi: SRC = fate/lavf.avi
+fate-seek-lavf-dv: SRC = fate/lavf.dv
+fate-seek-lavf-flv: SRC = fate/lavf.flv
+fate-seek-lavf-gif: SRC = fate/lavf.gif
+fate-seek-lavf-gxf: SRC = fate/lavf.gxf
+fate-seek-lavf-mkv: SRC = fate/lavf.mkv
+fate-seek-lavf-mmf: SRC = fate/lavf.mmf
+fate-seek-lavf-mov: SRC = fate/lavf.mov
+fate-seek-lavf-mpg: SRC = fate/lavf.mpg
+fate-seek-lavf-mxf: SRC = fate/lavf.mxf
+fate-seek-lavf-mxf_d10: SRC = fate/lavf.mxf_d10
+fate-seek-lavf-nut: SRC = fate/lavf.nut
+fate-seek-lavf-ogg: SRC = fate/lavf.ogg
+fate-seek-lavf-pbmpipe: SRC = fate/pbmpipe.pbm
+fate-seek-lavf-pgmpipe: SRC = fate/pgmpipe.pgm
+fate-seek-lavf-ppmpipe: SRC = fate/ppmpipe.ppm
+fate-seek-lavf-rm: SRC = fate/lavf.rm
+fate-seek-lavf-swf: SRC = fate/lavf.swf
+fate-seek-lavf-ts: SRC = fate/lavf.ts
+fate-seek-lavf-ul: SRC = fate/lavf.ul
+fate-seek-lavf-voc: SRC = fate/lavf.voc
+fate-seek-lavf-wav: SRC = fate/lavf.wav
+fate-seek-lavf-y4m: SRC = fate/lavf.y4m
+
fate-seek-lavf-bmp: SRC = images/bmp/%02d.bmp
-fate-seek-lavf-dv: SRC = lavf/lavf.dv
-fate-seek-lavf-flv: SRC = lavf/lavf.flv
-fate-seek-lavf-gif: SRC = lavf/lavf.gif
-fate-seek-lavf-gxf: SRC = lavf/lavf.gxf
fate-seek-lavf-jpg: SRC = images/jpg/%02d.jpg
-fate-seek-lavf-mkv: SRC = lavf/lavf.mkv
-fate-seek-lavf-mmf: SRC = lavf/lavf.mmf
-fate-seek-lavf-mov: SRC = lavf/lavf.mov
-fate-seek-lavf-mpg: SRC = lavf/lavf.mpg
-fate-seek-lavf-ul: SRC = lavf/lavf.ul
-fate-seek-lavf-mxf: SRC = lavf/lavf.mxf
-fate-seek-lavf-mxf_d10: SRC = lavf/lavf.mxf_d10
-fate-seek-lavf-nut: SRC = lavf/lavf.nut
-fate-seek-lavf-ogg: SRC = lavf/lavf.ogg
-fate-seek-lavf-pbmpipe: SRC = lavf/pbmpipe.pbm
fate-seek-lavf-pcx: SRC = images/pcx/%02d.pcx
fate-seek-lavf-pgm: SRC = images/pgm/%02d.pgm
-fate-seek-lavf-pgmpipe: SRC = lavf/pgmpipe.pgm
fate-seek-lavf-ppm: SRC = images/ppm/%02d.ppm
-fate-seek-lavf-ppmpipe: SRC = lavf/ppmpipe.ppm
-fate-seek-lavf-rm: SRC = lavf/lavf.rm
fate-seek-lavf-sgi: SRC = images/sgi/%02d.sgi
-fate-seek-lavf-swf: SRC = lavf/lavf.swf
fate-seek-lavf-tga: SRC = images/tga/%02d.tga
fate-seek-lavf-tiff: SRC = images/tiff/%02d.tiff
-fate-seek-lavf-ts: SRC = lavf/lavf.ts
-fate-seek-lavf-voc: SRC = lavf/lavf.voc
-fate-seek-lavf-wav: SRC = lavf/lavf.wav
-fate-seek-lavf-y4m: SRC = lavf/lavf.y4m
FATE_SEEK += $(FATE_SEEK_LAVF-yes:%=fate-seek-lavf-%)
diff --git a/tests/ref/lavf/aiff b/tests/ref/lavf/aiff
index e0b0edee5e..4e4c25e2e7 100644
--- a/tests/ref/lavf/aiff
+++ b/tests/ref/lavf/aiff
@@ -1,3 +1,3 @@
-9d9e55431800bf6aea46a7d67509da4e *./tests/data/lavf/lavf.aiff
-88254 ./tests/data/lavf/lavf.aiff
-./tests/data/lavf/lavf.aiff CRC=0x3a1da17e
+9d9e55431800bf6aea46a7d67509da4e *./tests/data/fate/lavf.aiff
+88254 ./tests/data/fate/lavf.aiff
+./tests/data/fate/lavf.aiff CRC=0x3a1da17e
diff --git a/tests/ref/lavf/al b/tests/ref/lavf/al
index d93d6fc0ee..3370149b03 100644
--- a/tests/ref/lavf/al
+++ b/tests/ref/lavf/al
@@ -1,3 +1,3 @@
-652d96e474869ddb01403743deb35117 *./tests/data/lavf/lavf.al
-44100 ./tests/data/lavf/lavf.al
-./tests/data/lavf/lavf.al CRC=0xf9643112
+652d96e474869ddb01403743deb35117 *./tests/data/fate/lavf.al
+44100 ./tests/data/fate/lavf.al
+./tests/data/fate/lavf.al CRC=0xf9643112
diff --git a/tests/ref/lavf/asf b/tests/ref/lavf/asf
index 2178435a52..9a808d4e9a 100644
--- a/tests/ref/lavf/asf
+++ b/tests/ref/lavf/asf
@@ -1,3 +1,3 @@
-33e857a06b2b5dedce0bf76c9973944c *./tests/data/lavf/lavf.asf
-333379 ./tests/data/lavf/lavf.asf
-./tests/data/lavf/lavf.asf CRC=0xf6340a10
+33e857a06b2b5dedce0bf76c9973944c *./tests/data/fate/lavf.asf
+333379 ./tests/data/fate/lavf.asf
+./tests/data/fate/lavf.asf CRC=0xf6340a10
diff --git a/tests/ref/lavf/au b/tests/ref/lavf/au
index 71cfdcb552..d5a4dddc49 100644
--- a/tests/ref/lavf/au
+++ b/tests/ref/lavf/au
@@ -1,3 +1,3 @@
-b9396e3775ea009094e751e7128d614e *./tests/data/lavf/lavf.au
-88224 ./tests/data/lavf/lavf.au
-./tests/data/lavf/lavf.au CRC=0x3a1da17e
+b9396e3775ea009094e751e7128d614e *./tests/data/fate/lavf.au
+88224 ./tests/data/fate/lavf.au
+./tests/data/fate/lavf.au CRC=0x3a1da17e
diff --git a/tests/ref/lavf/avi b/tests/ref/lavf/avi
index 08ae04206d..2d1bc868df 100644
--- a/tests/ref/lavf/avi
+++ b/tests/ref/lavf/avi
@@ -1,3 +1,3 @@
-e2e7b7ceaf038b259558f41df203ded9 *./tests/data/lavf/lavf.avi
-330786 ./tests/data/lavf/lavf.avi
-./tests/data/lavf/lavf.avi CRC=0x4c963cda
+e2e7b7ceaf038b259558f41df203ded9 *./tests/data/fate/lavf.avi
+330786 ./tests/data/fate/lavf.avi
+./tests/data/fate/lavf.avi CRC=0x4c963cda
diff --git a/tests/ref/lavf/dv b/tests/ref/lavf/dv
index c2b7335001..4617646f87 100644
--- a/tests/ref/lavf/dv
+++ b/tests/ref/lavf/dv
@@ -1,3 +1,3 @@
-eb51fbb48af28584ea5515f9f2400fcd *./tests/data/lavf/lavf.dv
-3600000 ./tests/data/lavf/lavf.dv
-./tests/data/lavf/lavf.dv CRC=0x0e868a82
+eb51fbb48af28584ea5515f9f2400fcd *./tests/data/fate/lavf.dv
+3600000 ./tests/data/fate/lavf.dv
+./tests/data/fate/lavf.dv CRC=0x0e868a82
diff --git a/tests/ref/lavf/flv b/tests/ref/lavf/flv
index 3414d1314c..07c0c770cb 100644
--- a/tests/ref/lavf/flv
+++ b/tests/ref/lavf/flv
@@ -1,3 +1,3 @@
-689e8e53031a2c0793fb5b99fc6f1024 *./tests/data/lavf/lavf.flv
-329521 ./tests/data/lavf/lavf.flv
-./tests/data/lavf/lavf.flv CRC=0x881785d1
+689e8e53031a2c0793fb5b99fc6f1024 *./tests/data/fate/lavf.flv
+329521 ./tests/data/fate/lavf.flv
+./tests/data/fate/lavf.flv CRC=0x881785d1
diff --git a/tests/ref/lavf/gif b/tests/ref/lavf/gif
index 4a4ebfb9dc..ca6eb1c1fd 100644
--- a/tests/ref/lavf/gif
+++ b/tests/ref/lavf/gif
@@ -1,3 +1,3 @@
-e6089fd4ef3b9df44090ab3650bdd810 *./tests/data/lavf/lavf.gif
-2906401 ./tests/data/lavf/lavf.gif
-./tests/data/lavf/lavf.gif CRC=0xe5605ff6
+e6089fd4ef3b9df44090ab3650bdd810 *./tests/data/fate/lavf.gif
+2906401 ./tests/data/fate/lavf.gif
+./tests/data/fate/lavf.gif CRC=0xe5605ff6
diff --git a/tests/ref/lavf/gxf b/tests/ref/lavf/gxf
index a390a070fc..320c903ee3 100644
--- a/tests/ref/lavf/gxf
+++ b/tests/ref/lavf/gxf
@@ -1,3 +1,3 @@
-bfc25e31136275aff0f9126610b8a7e4 *./tests/data/lavf/lavf.gxf
-796428 ./tests/data/lavf/lavf.gxf
-./tests/data/lavf/lavf.gxf CRC=0xd04c769f
+bfc25e31136275aff0f9126610b8a7e4 *./tests/data/fate/lavf.gxf
+796428 ./tests/data/fate/lavf.gxf
+./tests/data/fate/lavf.gxf CRC=0xd04c769f
diff --git a/tests/ref/lavf/mkv b/tests/ref/lavf/mkv
index 04c5f3cac2..2871a900ac 100644
--- a/tests/ref/lavf/mkv
+++ b/tests/ref/lavf/mkv
@@ -1,3 +1,3 @@
-dad336329ef85127f97e9d12a3b57a59 *./tests/data/lavf/lavf.mkv
-320383 ./tests/data/lavf/lavf.mkv
-./tests/data/lavf/lavf.mkv CRC=0x63ed3cda
+dad336329ef85127f97e9d12a3b57a59 *./tests/data/fate/lavf.mkv
+320383 ./tests/data/fate/lavf.mkv
+./tests/data/fate/lavf.mkv CRC=0x63ed3cda
diff --git a/tests/ref/lavf/mmf b/tests/ref/lavf/mmf
index 947abc746b..89538c4751 100644
--- a/tests/ref/lavf/mmf
+++ b/tests/ref/lavf/mmf
@@ -1,3 +1,3 @@
-1a3bbf19a41668c1e928bcafce88ff3e *./tests/data/lavf/lavf.mmf
-22617 ./tests/data/lavf/lavf.mmf
-./tests/data/lavf/lavf.mmf CRC=0x8dea1388
+1a3bbf19a41668c1e928bcafce88ff3e *./tests/data/fate/lavf.mmf
+22617 ./tests/data/fate/lavf.mmf
+./tests/data/fate/lavf.mmf CRC=0x8dea1388
diff --git a/tests/ref/lavf/mov b/tests/ref/lavf/mov
index f34a006fb4..0cdf7ce8a3 100644
--- a/tests/ref/lavf/mov
+++ b/tests/ref/lavf/mov
@@ -1,3 +1,3 @@
-e46f42ed71a589ac356e9cfad4e1e56a *./tests/data/lavf/lavf.mov
-356797 ./tests/data/lavf/lavf.mov
-./tests/data/lavf/lavf.mov CRC=0xe3f4950d
+e46f42ed71a589ac356e9cfad4e1e56a *./tests/data/fate/lavf.mov
+356797 ./tests/data/fate/lavf.mov
+./tests/data/fate/lavf.mov CRC=0xe3f4950d
diff --git a/tests/ref/lavf/mpg b/tests/ref/lavf/mpg
index e4c8ae0c17..8063b3342b 100644
--- a/tests/ref/lavf/mpg
+++ b/tests/ref/lavf/mpg
@@ -1,3 +1,3 @@
-7df31ba8a5909e3c88b1d1a3f93c4ec2 *./tests/data/lavf/lavf.mpg
-372736 ./tests/data/lavf/lavf.mpg
-./tests/data/lavf/lavf.mpg CRC=0xdd24439e
+7df31ba8a5909e3c88b1d1a3f93c4ec2 *./tests/data/fate/lavf.mpg
+372736 ./tests/data/fate/lavf.mpg
+./tests/data/fate/lavf.mpg CRC=0xdd24439e
diff --git a/tests/ref/lavf/mxf b/tests/ref/lavf/mxf
index 105e33a3e2..08eb6cff94 100644
--- a/tests/ref/lavf/mxf
+++ b/tests/ref/lavf/mxf
@@ -1,3 +1,3 @@
-7c9efc1b6f5fc65bf39177887512fefd *./tests/data/lavf/lavf.mxf
-525881 ./tests/data/lavf/lavf.mxf
-./tests/data/lavf/lavf.mxf CRC=0x773f059a
+7c9efc1b6f5fc65bf39177887512fefd *./tests/data/fate/lavf.mxf
+525881 ./tests/data/fate/lavf.mxf
+./tests/data/fate/lavf.mxf CRC=0x773f059a
diff --git a/tests/ref/lavf/mxf_d10 b/tests/ref/lavf/mxf_d10
index 74991a5750..6923927570 100644
--- a/tests/ref/lavf/mxf_d10
+++ b/tests/ref/lavf/mxf_d10
@@ -1,3 +1,3 @@
-5fbb6252f6b146cd36d1491ca96ad8a3 *./tests/data/lavf/lavf.mxf_d10
-5330989 ./tests/data/lavf/lavf.mxf_d10
-./tests/data/lavf/lavf.mxf_d10 CRC=0x4474d480
+5fbb6252f6b146cd36d1491ca96ad8a3 *./tests/data/fate/lavf.mxf_d10
+5330989 ./tests/data/fate/lavf.mxf_d10
+./tests/data/fate/lavf.mxf_d10 CRC=0x4474d480
diff --git a/tests/ref/lavf/nut b/tests/ref/lavf/nut
index bdbe8232ef..dbfda8a546 100644
--- a/tests/ref/lavf/nut
+++ b/tests/ref/lavf/nut
@@ -1,3 +1,3 @@
-d685d5af89cfddb2660f03b1dee3f9a2 *./tests/data/lavf/lavf.nut
-319711 ./tests/data/lavf/lavf.nut
-./tests/data/lavf/lavf.nut CRC=0x4c963cda
+d685d5af89cfddb2660f03b1dee3f9a2 *./tests/data/fate/lavf.nut
+319711 ./tests/data/fate/lavf.nut
+./tests/data/fate/lavf.nut CRC=0x4c963cda
diff --git a/tests/ref/lavf/ogg b/tests/ref/lavf/ogg
index ea827acd4c..0c35085358 100644
--- a/tests/ref/lavf/ogg
+++ b/tests/ref/lavf/ogg
@@ -1,3 +1,3 @@
-8ca901bc8d24b80ebe79e387e454d1e9 *./tests/data/lavf/lavf.ogg
-13476 ./tests/data/lavf/lavf.ogg
-./tests/data/lavf/lavf.ogg CRC=0x3a1da17e
+8ca901bc8d24b80ebe79e387e454d1e9 *./tests/data/fate/lavf.ogg
+13476 ./tests/data/fate/lavf.ogg
+./tests/data/fate/lavf.ogg CRC=0x3a1da17e
diff --git a/tests/ref/lavf/pbmpipe b/tests/ref/lavf/pbmpipe
index d50ed716bc..d1c56dbcf2 100644
--- a/tests/ref/lavf/pbmpipe
+++ b/tests/ref/lavf/pbmpipe
@@ -1,3 +1,3 @@
-8ced96f5b6b7362358199ae993b4ceb7 *./tests/data/lavf/pbmpipe.pbm
-317075 ./tests/data/lavf/pbmpipe.pbm
-./tests/data/lavf/pbmpipe.pbm CRC=0xfae0a1ba
+8ced96f5b6b7362358199ae993b4ceb7 *./tests/data/fate/pbmpipe.pbm
+317075 ./tests/data/fate/pbmpipe.pbm
+./tests/data/fate/pbmpipe.pbm CRC=0xfae0a1ba
diff --git a/tests/ref/lavf/pgmpipe b/tests/ref/lavf/pgmpipe
index 28ad60ea59..a6aa06134a 100644
--- a/tests/ref/lavf/pgmpipe
+++ b/tests/ref/lavf/pgmpipe
@@ -1,3 +1,3 @@
-04e66c8e9e064c8310bd657ee559bd70 *./tests/data/lavf/pgmpipe.pgm
-2534775 ./tests/data/lavf/pgmpipe.pgm
-./tests/data/lavf/pgmpipe.pgm CRC=0xadf48ba9
+04e66c8e9e064c8310bd657ee559bd70 *./tests/data/fate/pgmpipe.pgm
+2534775 ./tests/data/fate/pgmpipe.pgm
+./tests/data/fate/pgmpipe.pgm CRC=0xadf48ba9
diff --git a/tests/ref/lavf/ppmpipe b/tests/ref/lavf/ppmpipe
index b703e16e50..1d86ce4100 100644
--- a/tests/ref/lavf/ppmpipe
+++ b/tests/ref/lavf/ppmpipe
@@ -1,3 +1,3 @@
-74f1f6651ad8f192a7b4c11c2b6c71e5 *./tests/data/lavf/ppmpipe.ppm
-7603575 ./tests/data/lavf/ppmpipe.ppm
-./tests/data/lavf/ppmpipe.ppm CRC=0x87b3c15f
+74f1f6651ad8f192a7b4c11c2b6c71e5 *./tests/data/fate/ppmpipe.ppm
+7603575 ./tests/data/fate/ppmpipe.ppm
+./tests/data/fate/ppmpipe.ppm CRC=0x87b3c15f
diff --git a/tests/ref/lavf/rm b/tests/ref/lavf/rm
index 993310d4e3..4793d67e75 100644
--- a/tests/ref/lavf/rm
+++ b/tests/ref/lavf/rm
@@ -1,2 +1,2 @@
-9eeb3b91c0a45f519fd7f2efea882cf4 *./tests/data/lavf/lavf.rm
-346414 ./tests/data/lavf/lavf.rm
+9eeb3b91c0a45f519fd7f2efea882cf4 *./tests/data/fate/lavf.rm
+346414 ./tests/data/fate/lavf.rm
diff --git a/tests/ref/lavf/rso b/tests/ref/lavf/rso
index 5878f434a1..a7b88904a6 100644
--- a/tests/ref/lavf/rso
+++ b/tests/ref/lavf/rso
@@ -1,3 +1,3 @@
-443b72346065d6318ca18c8395aa1d87 *./tests/data/lavf/lavf.rso
-44108 ./tests/data/lavf/lavf.rso
-./tests/data/lavf/lavf.rso CRC=0x298fd284
+443b72346065d6318ca18c8395aa1d87 *./tests/data/fate/lavf.rso
+44108 ./tests/data/fate/lavf.rso
+./tests/data/fate/lavf.rso CRC=0x298fd284
diff --git a/tests/ref/lavf/sox b/tests/ref/lavf/sox
index fc368b1357..3e4c291333 100644
--- a/tests/ref/lavf/sox
+++ b/tests/ref/lavf/sox
@@ -1,3 +1,3 @@
-683635d5cb1344e44fa96df90c3a993c *./tests/data/lavf/lavf.sox
-176432 ./tests/data/lavf/lavf.sox
-./tests/data/lavf/lavf.sox CRC=0x3a1da17e
+683635d5cb1344e44fa96df90c3a993c *./tests/data/fate/lavf.sox
+176432 ./tests/data/fate/lavf.sox
+./tests/data/fate/lavf.sox CRC=0x3a1da17e
diff --git a/tests/ref/lavf/swf b/tests/ref/lavf/swf
index 1e07793e1e..f1d0274c62 100644
--- a/tests/ref/lavf/swf
+++ b/tests/ref/lavf/swf
@@ -1,3 +1,3 @@
-62c5aeb636fc82cf6ba6277d36e42cb5 *./tests/data/lavf/lavf.swf
-329479 ./tests/data/lavf/lavf.swf
-./tests/data/lavf/lavf.swf CRC=0x881785d1
+62c5aeb636fc82cf6ba6277d36e42cb5 *./tests/data/fate/lavf.swf
+329479 ./tests/data/fate/lavf.swf
+./tests/data/fate/lavf.swf CRC=0x881785d1
diff --git a/tests/ref/lavf/ts b/tests/ref/lavf/ts
index 6846f700cc..a8b24e22f6 100644
--- a/tests/ref/lavf/ts
+++ b/tests/ref/lavf/ts
@@ -1,3 +1,3 @@
-7a479525b7dc9264291cb2fc3e1d28e5 *./tests/data/lavf/lavf.ts
-406456 ./tests/data/lavf/lavf.ts
-./tests/data/lavf/lavf.ts CRC=0xb4ca6cdc
+7a479525b7dc9264291cb2fc3e1d28e5 *./tests/data/fate/lavf.ts
+406456 ./tests/data/fate/lavf.ts
+./tests/data/fate/lavf.ts CRC=0xb4ca6cdc
diff --git a/tests/ref/lavf/ul b/tests/ref/lavf/ul
index bd540847de..1c4455e038 100644
--- a/tests/ref/lavf/ul
+++ b/tests/ref/lavf/ul
@@ -1,3 +1,3 @@
-ad492935e361f830f2f8302aa102701d *./tests/data/lavf/lavf.ul
-44100 ./tests/data/lavf/lavf.ul
-./tests/data/lavf/lavf.ul CRC=0x4515fa26
+ad492935e361f830f2f8302aa102701d *./tests/data/fate/lavf.ul
+44100 ./tests/data/fate/lavf.ul
+./tests/data/fate/lavf.ul CRC=0x4515fa26
diff --git a/tests/ref/lavf/voc b/tests/ref/lavf/voc
index 3131960237..2128593379 100644
--- a/tests/ref/lavf/voc
+++ b/tests/ref/lavf/voc
@@ -1,3 +1,3 @@
-ae01db5200e569371d4c27316575344c *./tests/data/lavf/lavf.voc
-44305 ./tests/data/lavf/lavf.voc
-./tests/data/lavf/lavf.voc CRC=0x298fd284
+ae01db5200e569371d4c27316575344c *./tests/data/fate/lavf.voc
+44305 ./tests/data/fate/lavf.voc
+./tests/data/fate/lavf.voc CRC=0x298fd284
diff --git a/tests/ref/lavf/voc_s16 b/tests/ref/lavf/voc_s16
index 776cc163fa..865c0942a8 100644
--- a/tests/ref/lavf/voc_s16
+++ b/tests/ref/lavf/voc_s16
@@ -1,3 +1,3 @@
-e55a9c632cfeab90bcfb9ff29a71728c *./tests/data/lavf/lavf.voc_s16
-176613 ./tests/data/lavf/lavf.voc_s16
-./tests/data/lavf/lavf.voc_s16 CRC=0xe61e3bd0
+e55a9c632cfeab90bcfb9ff29a71728c *./tests/data/fate/lavf.voc_s16
+176613 ./tests/data/fate/lavf.voc_s16
+./tests/data/fate/lavf.voc_s16 CRC=0xe61e3bd0
diff --git a/tests/ref/lavf/wav b/tests/ref/lavf/wav
index fa8a859cd0..498255a497 100644
--- a/tests/ref/lavf/wav
+++ b/tests/ref/lavf/wav
@@ -1,3 +1,3 @@
-41410d9bbe0603740d1c17050746f475 *./tests/data/lavf/lavf.wav
-88246 ./tests/data/lavf/lavf.wav
-./tests/data/lavf/lavf.wav CRC=0x3a1da17e
+41410d9bbe0603740d1c17050746f475 *./tests/data/fate/lavf.wav
+88246 ./tests/data/fate/lavf.wav
+./tests/data/fate/lavf.wav CRC=0x3a1da17e
diff --git a/tests/ref/lavf/y4m b/tests/ref/lavf/y4m
index 367b37621d..c130e1c7cc 100644
--- a/tests/ref/lavf/y4m
+++ b/tests/ref/lavf/y4m
@@ -1,3 +1,3 @@
-ec8178cb152f9cdbfd9cb724d977db2e *./tests/data/lavf/lavf.y4m
-3801808 ./tests/data/lavf/lavf.y4m
-./tests/data/lavf/lavf.y4m CRC=0x0a941f26
+ec8178cb152f9cdbfd9cb724d977db2e *./tests/data/fate/lavf.y4m
+3801808 ./tests/data/fate/lavf.y4m
+./tests/data/fate/lavf.y4m CRC=0x0a941f26
diff --git a/tests/regression-funcs.sh b/tests/regression-funcs.sh
index 4dffd55221..9247139386 100755
--- a/tests/regression-funcs.sh
+++ b/tests/regression-funcs.sh
@@ -16,7 +16,7 @@ datadir="./tests/data"
target_datadir="${target_path}/${datadir}"
this="$test.$test_ref"
-outdir="$datadir/$test_ref/"
+outdir="$datadir/fate/"
# various files
avconv="$target_exec ${target_path}/avconv"
@@ -29,9 +29,6 @@ target_crcfile="$target_datadir/$this.crc"
cleanfiles="$raw_dst $crcfile"
trap 'rm -f -- $cleanfiles' EXIT
-mkdir -p "$datadir"
-mkdir -p "$outdir"
-
[ "${V-0}" -gt 0 ] && echov=echov || echov=:
echov(){
--
2.11.0