diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-07 23:30:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-07 23:31:27 +0200 |
commit | f9b0694cc8ffc6a1e5eb0faa096d255938cb6310 (patch) | |
tree | 6953f6dc3ef1acf112e3e194b87250fbe17d4cf2 /libavcodec/motion-test.c | |
parent | d58b25aaa261040cec29bffa571c41bc9f652f10 (diff) | |
download | ffmpeg-f9b0694cc8ffc6a1e5eb0faa096d255938cb6310.tar.gz |
motion-test: fix height parameter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/motion-test.c')
-rw-r--r-- | libavcodec/motion-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c index 3504ccfd68..425770647b 100644 --- a/libavcodec/motion-test.c +++ b/libavcodec/motion-test.c @@ -80,8 +80,8 @@ static void test_motion(const char *name, for(y=0;y<HEIGHT-17;y++) { for(x=0;x<WIDTH-17;x++) { ptr = img2 + y * WIDTH + x; - d1 = test_func(NULL, img1, ptr, WIDTH, 1); - d2 = ref_func(NULL, img1, ptr, WIDTH, 1); + d1 = test_func(NULL, img1, ptr, WIDTH, 8); + d2 = ref_func(NULL, img1, ptr, WIDTH, 8); if (d1 != d2) { printf("error: mmx=%d c=%d\n", d1, d2); } @@ -97,7 +97,7 @@ static void test_motion(const char *name, for(y=0;y<HEIGHT-17;y++) { for(x=0;x<WIDTH-17;x++) { ptr = img2 + y * WIDTH + x; - d1 += test_func(NULL, img1, ptr, WIDTH, 1); + d1 += test_func(NULL, img1, ptr, WIDTH, 8); } } } |