Commit 59b9ecc9 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_yadif: Treat mode as a field of flags

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4ff5b268
......@@ -66,7 +66,7 @@ typedef struct ThreadData {
CHECK( 1) CHECK( 2) }} }} \
}\
\
if (mode < 2) { \
if (!(mode&2)) { \
int b = (prev2[2 * mrefs] + next2[2 * mrefs])>>1; \
int f = (prev2[2 * prefs] + next2[2 * prefs])>>1; \
int max = FFMAX3(d - e, d - c, FFMIN(b - c, f - e)); \
......
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