From 7c524bbef49841c783621be9eb251ac76266d509 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Thu, 31 Oct 2013 14:34:21 -0700 Subject: Cleanup. Adding const to function pointer arguments. Change-Id: I12c67c8c0fa1aa7fb3f7d6cc2ef65be29c4ea292 --- vp9/common/vp9_scan.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vp9/common/vp9_scan.h') 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; } -- cgit v1.2.3