Commit 8ced62f2 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

fix a msvc compiler warning

Change-Id: Ifd6581c1bdb8d8f4b2ecf676c1a3d385dc129abf
parent 5d5cc0d0
......@@ -846,7 +846,7 @@ void rd_pick_palette_intra_sby(VP10_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize,
for (i = 0; i < k; ++i)
pmi->palette_colors[i] = clip_pixel(round(centroids[i]));
pmi->palette_colors[i] = clip_pixel((int)round(centroids[i]));
pmi->palette_size[0] = k;
vp10_calc_indices(data, centroids, indices, rows * cols, k, 1);
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