Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-07-21 14:37:23 +0400
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-07-21 14:37:23 +0400
commit07874f22980ddf000a1755ad352da147e215e7d3 (patch)
treef66c64b065281fece78dd1a418f0e06b21b60aeb /tests/videogen.c
parentbaf91bb9a3dd772723657435e617f6e012f158bf (diff)
Due to a typo in videogen.c, the regression test videos were not as
complex as originally planned. Typo fixed (the background moves less linear now) and regression test results updated. Originally committed as revision 19478 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/videogen.c')
-rw-r--r--tests/videogen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/videogen.c b/tests/videogen.c
index 55b7f2813e..5990dd7d48 100644
--- a/tests/videogen.c
+++ b/tests/videogen.c
@@ -222,7 +222,7 @@ static void gen_image(int num, int w, int h)
for(y=0;y<h;y++) {
for(x=0;x<w;x++) {
x1 = (x << FRAC_BITS) + dx;
- y1 = (y << FRAC_BITS) + dx;
+ y1 = (y << FRAC_BITS) + dy;
r = ((y1 * 7) >> FRAC_BITS) & 0xff;
g = (((x1 + y1) * 9) >> FRAC_BITS) & 0xff;
b = ((x1 * 5) >> FRAC_BITS) & 0xff;