Commit 0ba850ea authored by Urvang Joshi's avatar Urvang Joshi Committed by Ralph Giles

Palette_delta_encoding: compile fix.

s/uint16/uint16_t/

Issue introduced in https://aomedia-review.googlesource.com/c/11148/

Change-Id: I77cb5865828adef98976863fafa2ecbb907290a5
parent 52a2c838
......@@ -648,8 +648,8 @@ static int read_skip(AV1_COMMON *cm, const MACROBLOCKD *xd, int segment_id,
#if CONFIG_PALETTE_DELTA_ENCODING
#if CONFIG_HIGHBITDEPTH
static int uint16_compare(const void *a, const void *b) {
const uint16 va = *(const uint16 *)a;
const uint16 vb = *(const uint16 *)b;
const uint16_t va = *(const uint16_t *)a;
const uint16_t vb = *(const uint16_t *)b;
return va - vb;
}
#else
......
......@@ -196,7 +196,7 @@ int av1_index_color_cache(uint16_t *color_cache, int n_cache,
const void *colors, int n_colors,
uint8_t *cache_color_found, int *out_cache_colors) {
#if CONFIG_HIGHBITDEPTH
const uint16_t *colors_in = (const uint16 *)colors;
const uint16_t *colors_in = (const uint16_t *)colors;
#else
const uint8_t *colors_in = (const uint8_t *)colors;
#endif // CONFIG_HIGHBITDEPTH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment