Commit 15cc8bc7 authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review

Merge "fix a msvc compiler warning"

parents 3e1e3ac7 8ced62f2
......@@ -846,7 +846,7 @@ void rd_pick_palette_intra_sby(VP10_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize,
else
#endif // CONFIG_VP9_HIGHBITDEPTH
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