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

Unified Diff: webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routins.h

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_routins.h
diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routins.h b/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routins.h
index 40bbb4cdaa88e35d6287153a9b2ba93b84f8594a..c76bf1a266c56eeb76f21c505992becb8e60afea 100644
--- a/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routins.h
+++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routins.h
@@ -98,7 +98,7 @@ int WebRtcIsacfix_DecLogisticMulti2(
int WebRtcIsacfix_EncHistMulti(
Bitstr_enc *streamData,
const int16_t *data,
- const uint16_t **cdf,
+ const uint16_t *const *cdf,
const int16_t lenData);
@@ -125,7 +125,7 @@ int WebRtcIsacfix_EncHistMulti(
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);
@@ -153,7 +153,7 @@ int16_t WebRtcIsacfix_DecHistBisectMulti(
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);

Powered by Google App Engine
This is Rietveld 408576698