From 233ed6b314ee6b8d37d16a958f1bc309ae667393 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 18 Feb 2011 19:10:33 +0100 Subject: Change yadif to not use out of picture lines. Fixes issue2272. Signed-off-by: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/x86/yadif_template.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavfilter/x86/yadif_template.c') diff --git a/libavfilter/x86/yadif_template.c b/libavfilter/x86/yadif_template.c index 524048e77d..962a7c777d 100644 --- a/libavfilter/x86/yadif_template.c +++ b/libavfilter/x86/yadif_template.c @@ -105,7 +105,7 @@ void RENAME(ff_yadif_filter_line)(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next, - int w, int refs, int parity, int mode) + int w, int prefs, int mrefs, int parity, int mode) { DECLARE_ALIGNED(16, uint8_t, tmp0[16]); DECLARE_ALIGNED(16, uint8_t, tmp1[16]); @@ -226,8 +226,8 @@ void RENAME(ff_yadif_filter_line)(uint8_t *dst, :[prev] "r"(prev),\ [cur] "r"(cur),\ [next] "r"(next),\ - [prefs]"r"((x86_reg)refs),\ - [mrefs]"r"((x86_reg)-refs),\ + [prefs]"r"((x86_reg)prefs),\ + [mrefs]"r"((x86_reg)mrefs),\ [mode] "g"(mode)\ );\ __asm__ volatile(MOV" "MM"1, %0" :"=m"(*dst));\ -- cgit v1.2.3