You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
yadif: correct strides in filter_edges_16bit
The C code treats the data as arrays of uint16_t so strides must not be in bytes but in pixels. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
cd5f50a255
commit
3d751b1ef6
@@ -157,6 +157,8 @@ static void filter_edges_16bit(void *dst1, void *prev1, void *cur1, void *next1,
|
|||||||
int x;
|
int x;
|
||||||
uint16_t *prev2 = parity ? prev : cur ;
|
uint16_t *prev2 = parity ? prev : cur ;
|
||||||
uint16_t *next2 = parity ? cur : next;
|
uint16_t *next2 = parity ? cur : next;
|
||||||
|
mrefs /= 2;
|
||||||
|
prefs /= 2;
|
||||||
|
|
||||||
FILTER(0, 3, 0)
|
FILTER(0, 3, 0)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user