summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_scan.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp9/common/vp9_scan.h')
-rw-r--r--vp9/common/vp9_scan.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vp9/common/vp9_scan.h b/vp9/common/vp9_scan.h
index a5c8463d5..14a1a7eb0 100644
--- a/vp9/common/vp9_scan.h
+++ b/vp9/common/vp9_scan.h
@@ -191,8 +191,7 @@ static INLINE const int16_t* get_iscan_16x16(TX_TYPE tx_type) {
}
static INLINE int get_coef_context(const int16_t *neighbors,
- uint8_t *token_cache,
- int c) {
+ const uint8_t *token_cache, int c) {
return (1 + token_cache[neighbors[MAX_NEIGHBORS * c + 0]] +
token_cache[neighbors[MAX_NEIGHBORS * c + 1]]) >> 1;
}