aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/arm/dsputil_init_neon.c
diff options
context:
space:
mode:
authorEli Friedman2010-06-27 15:11:38 +0000
committerCarl Eugen Hoyos2010-06-27 15:11:38 +0000
commitb3858964d6ddc61c89588be64ef6b2290debd136 (patch)
treee64d19c6da795d2561927a739b91eb8ad95239c1 /libavcodec/arm/dsputil_init_neon.c
parent1444438ab09878d8ab6e5953db4882b90f018995 (diff)
Add const to some pointer parameters.
Patch by Eli Friedman, eli D friedman A gmail Originally committed as revision 23826 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/dsputil_init_neon.c')
-rw-r--r--libavcodec/arm/dsputil_init_neon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/arm/dsputil_init_neon.c b/libavcodec/arm/dsputil_init_neon.c
index ff19672487..04ebb00576 100644
--- a/libavcodec/arm/dsputil_init_neon.c
+++ b/libavcodec/arm/dsputil_init_neon.c
@@ -168,10 +168,10 @@ void ff_float_to_int16_interleave_neon(int16_t *, const float **, long, int);
void ff_vorbis_inverse_coupling_neon(float *mag, float *ang, int blocksize);
-int32_t ff_scalarproduct_int16_neon(int16_t *v1, int16_t *v2, int len,
+int32_t ff_scalarproduct_int16_neon(const int16_t *v1, const int16_t *v2, int len,
int shift);
-int32_t ff_scalarproduct_and_madd_int16_neon(int16_t *v1, int16_t *v2,
- int16_t *v3, int len, int mul);
+int32_t ff_scalarproduct_and_madd_int16_neon(int16_t *v1, const int16_t *v2,
+ const int16_t *v3, int len, int mul);
void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx)
{