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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-08 01:30:52 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-10-08 01:31:27 +0400
commitf9b0694cc8ffc6a1e5eb0faa096d255938cb6310 (patch)
tree6953f6dc3ef1acf112e3e194b87250fbe17d4cf2 /libavcodec/motion-test.c
parentd58b25aaa261040cec29bffa571c41bc9f652f10 (diff)
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.c6
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);
}
}
}