diff ppc/int_altivec.c @ 5255:669a97223dc7 libavcodec

make arguments to ssd_int8_vs_int16() const
author mru
date Sun, 08 Jul 2007 23:15:00 +0000
parents d5ba514e3f4a
children f7cbb7733146
line wrap: on
line diff
--- a/ppc/int_altivec.c	Sun Jul 08 23:14:54 2007 +0000
+++ b/ppc/int_altivec.c	Sun Jul 08 23:15:00 2007 +0000
@@ -29,7 +29,8 @@
 
 #include "dsputil_altivec.h"
 
-static int ssd_int8_vs_int16_altivec(int8_t *pix1, int16_t *pix2, int size) {
+static int ssd_int8_vs_int16_altivec(const int8_t *pix1, const int16_t *pix2,
+                                     int size) {
     int i, size16;
     vector signed char vpix1;
     vector signed short vpix2, vdiff, vpix1l,vpix1h;