Index: webrtc/modules/audio_coding/codecs/ilbc/create_augmented_vec.c |
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/create_augmented_vec.c b/webrtc/modules/audio_coding/codecs/ilbc/create_augmented_vec.c |
index 5e1c217e26f85476c926696bf1be29a8546ac4b0..4dcf49b6e7b76f6893276d658b0a5658e5fc3bd4 100644 |
--- a/webrtc/modules/audio_coding/codecs/ilbc/create_augmented_vec.c |
+++ b/webrtc/modules/audio_coding/codecs/ilbc/create_augmented_vec.c |
@@ -26,13 +26,14 @@ |
*----------------------------------------------------------------*/ |
void WebRtcIlbcfix_CreateAugmentedVec( |
- size_t index, /* (i) Index for the augmented vector to be created */ |
- int16_t *buffer, /* (i) Pointer to the end of the codebook memory that |
- is used for creation of the augmented codebook */ |
- int16_t *cbVec /* (o) The constructed codebook vector */ |
- ) { |
+ size_t index, /* (i) Index for the augmented vector to be |
+ created */ |
+ const int16_t* buffer, /* (i) Pointer to the end of the codebook memory |
+ that is used for creation of the augmented |
+ codebook */ |
+ int16_t* cbVec) { /* (o) The constructed codebook vector */ |
size_t ilow; |
- int16_t *ppo, *ppi; |
+ const int16_t *ppo, *ppi; |
int16_t cbVecTmp[4]; |
/* Interpolation starts 4 elements before cbVec+index, but must not start |
outside |cbVec|; clamping interp_len to stay within |cbVec|. |