aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
commit7993df65275a9a9bf0a04c37d1aa31901d3ebb0c (patch)
tree12ac05b322190d0bbbf660aef2e280128d15020a /libavcodec/dsputil.c
parentff794171c97ae123cac041726e9c8bdc36c7e6c0 (diff)
downloadffmpeg-7993df65275a9a9bf0a04c37d1aa31901d3ebb0c.tar.gz
consts
I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r--libavcodec/dsputil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 0d4ac92b9b..d9e0127e4f 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -3785,7 +3785,7 @@ void ff_vector_fmul_add_add_c(float *dst, const float *src0, const float *src1,
void ff_float_to_int16_c(int16_t *dst, const float *src, int len){
int i;
for(i=0; i<len; i++) {
- int_fast32_t tmp = ((int32_t*)src)[i];
+ int_fast32_t tmp = ((const int32_t*)src)[i];
if(tmp & 0xf0000){
tmp = (0x43c0ffff - tmp)>>31;
// is this faster on some gcc/cpu combinations?