mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
Fix unsigned/signed mismatch warning.
This commit is contained in:
parent
e5cced6b4a
commit
cda681294c
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue