changeset 682:8be211ca9db9 libavcodec

fixing *pixels_tab stuff (hopefully, as its untested ...)
author michaelni
date Thu, 19 Sep 2002 10:26:49 +0000
parents b3869ffff47a
children aad2dedb8b6a
files mlib/dsputil_mlib.c
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mlib/dsputil_mlib.c	Thu Sep 19 09:13:43 2002 +0000
+++ b/mlib/dsputil_mlib.c	Thu Sep 19 10:26:49 2002 +0000
@@ -128,17 +128,17 @@
 {
     ff_idct = ff_idct_mlib;
 
-    put_pixels_tab[0] = put_pixels_mlib;
-    put_pixels_tab[1] = put_pixels_x2_mlib;
-    put_pixels_tab[2] = put_pixels_y2_mlib;
-    put_pixels_tab[3] = put_pixels_xy2_mlib;
+    put_pixels_tab[1][0] = put_pixels_mlib;
+    put_pixels_tab[1][1] = put_pixels_x2_mlib;
+    put_pixels_tab[1][2] = put_pixels_y2_mlib;
+    put_pixels_tab[1][3] = put_pixels_xy2_mlib;
 
-    avg_pixels_tab[0] = avg_pixels_mlib;
-    avg_pixels_tab[1] = avg_pixels_x2_mlib;
-    avg_pixels_tab[2] = avg_pixels_y2_mlib;
-    avg_pixels_tab[3] = avg_pixels_xy2_mlib;
+    avg_pixels_tab[1][0] = avg_pixels_mlib;
+    avg_pixels_tab[1][1] = avg_pixels_x2_mlib;
+    avg_pixels_tab[1][2] = avg_pixels_y2_mlib;
+    avg_pixels_tab[1][3] = avg_pixels_xy2_mlib;
     
-    put_no_rnd_pixels_tab[0] = put_pixels_mlib;
+    put_no_rnd_pixels_tab[1][0] = put_pixels_mlib;
     
     add_pixels_clamped = add_pixels_clamped_mlib;
 }