Mercurial > libavcodec.hg
diff dsputil.c @ 11981:d3551fcf4c1c libavcodec
Add const to some pointer parameters.
Patch by Eli Friedman, eli D friedman A gmail
author | cehoyos |
---|---|
date | Sun, 27 Jun 2010 15:11:38 +0000 |
parents | 56aba5a9761c |
children | e382860b855f |
line wrap: on
line diff
--- a/dsputil.c Sun Jun 27 12:21:12 2010 +0000 +++ b/dsputil.c Sun Jun 27 15:11:38 2010 +0000 @@ -3988,7 +3988,7 @@ } } -static int32_t scalarproduct_int16_c(int16_t * v1, int16_t * v2, int order, int shift) +static int32_t scalarproduct_int16_c(const int16_t * v1, const int16_t * v2, int order, int shift) { int res = 0; @@ -3998,7 +3998,7 @@ return res; } -static int32_t scalarproduct_and_madd_int16_c(int16_t *v1, int16_t *v2, int16_t *v3, int order, int mul) +static int32_t scalarproduct_and_madd_int16_c(int16_t *v1, const int16_t *v2, const int16_t *v3, int order, int mul) { int res = 0; while (order--) {