Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1291)

Unified Diff: webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c

Issue 2986163002: Audit of kConstants missing the const qualifier (Closed)
Patch Set: rebase + constexpr Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c
diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c b/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c
index ae4f3d230e09258efff669b12002c7e66c781abe..f1eb5ae8f75e5fddec6160985667f3bc51e2af54 100644
--- a/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c
+++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c
@@ -34,7 +34,7 @@
*/
int WebRtcIsacfix_EncHistMulti(Bitstr_enc *streamData,
const int16_t *data,
- const uint16_t **cdf,
+ const uint16_t *const *cdf,
const int16_t lenData)
{
uint32_t W_lower;
@@ -146,7 +146,7 @@ int WebRtcIsacfix_EncHistMulti(Bitstr_enc *streamData,
*/
int16_t WebRtcIsacfix_DecHistBisectMulti(int16_t *data,
Bitstr_dec *streamData,
- const uint16_t **cdf,
+ const uint16_t *const *cdf,
const uint16_t *cdfSize,
const int16_t lenData)
{
@@ -281,7 +281,7 @@ int16_t WebRtcIsacfix_DecHistBisectMulti(int16_t *data,
*/
int16_t WebRtcIsacfix_DecHistOneStepMulti(int16_t *data,
Bitstr_dec *streamData,
- const uint16_t **cdf,
+ const uint16_t *const *cdf,
const uint16_t *initIndex,
const int16_t lenData)
{
« no previous file with comments | « webrtc/media/engine/webrtcmediaengine.cc ('k') | webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698