mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +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)
|
||||
{
|
||||
// TODO: Inter: Handle non-square blocks.
|
||||
unsigned block_width = CU_WIDTH_FROM_DEPTH(depth);
|
||||
unsigned block_height = block_width;
|
||||
int block_width = CU_WIDTH_FROM_DEPTH(depth);
|
||||
int block_height = block_width;
|
||||
unsigned cost;
|
||||
|
||||
// TODO: Inter: Calculating error outside picture borders.
|
||||
|
|
Loading…
Reference in a new issue