Commit 77b86f44 authored by Zhao Zhili's avatar Zhao Zhili Committed by Thomas Guillem

yadif: fix variable type

Signed-off-by: Thomas Guillem's avatarThomas Guillem <>
parent 1f246d26
......@@ -140,10 +140,10 @@ static void yadif_filter_line_c(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8
static void yadif_filter_line_c_16bit(uint8_t *dst8, uint8_t *prev8, uint8_t *cur8, uint8_t *next8, int w, int prefs, int mrefs, int parity, int mode) {
uint8_t *dst = (uint8_t *)dst8;
uint8_t *prev = (uint8_t *)prev8;
uint8_t *cur = (uint8_t *)cur8;
uint8_t *next = (uint8_t *)next8;
uint16_t *dst = (uint16_t *)dst8;
uint16_t *prev = (uint16_t *)prev8;
uint16_t *cur = (uint16_t *)cur8;
uint16_t *next = (uint16_t *)next8;
int x;
uint16_t *prev2= parity ? prev : cur ;
uint16_t *next2= parity ? cur : next;
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