Fix unsigned/signed mismatch warning.

This commit is contained in:
Ari Koivula 2013-09-24 19:47:54 +03:00
parent e5cced6b4a
commit cda681294c

View file

@ -42,8 +42,8 @@ void search_motion_vector(picture *pic, uint8_t *pic_data, uint8_t *ref_data,
int orig_x, int orig_y, int x, int y, unsigned depth) int orig_x, int orig_y, int x, int y, unsigned depth)
{ {
// TODO: Inter: Handle non-square blocks. // TODO: Inter: Handle non-square blocks.
unsigned block_width = CU_WIDTH_FROM_DEPTH(depth); int block_width = CU_WIDTH_FROM_DEPTH(depth);
unsigned block_height = block_width; int block_height = block_width;
unsigned cost; unsigned cost;
// TODO: Inter: Calculating error outside picture borders. // TODO: Inter: Calculating error outside picture borders.