vf_tinterlace: default of mode switch is impossible, add assert.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e7101a7f3f
commit
b11a889055
@ -309,6 +309,8 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
|
|||||||
inlink->format, inlink->w, inlink->h,
|
inlink->format, inlink->w, inlink->h,
|
||||||
tff ? FIELD_UPPER : FIELD_LOWER, 1, tff ? FIELD_UPPER : FIELD_LOWER);
|
tff ? FIELD_UPPER : FIELD_LOWER, 1, tff ? FIELD_UPPER : FIELD_LOWER);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
av_assert0(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = ff_filter_frame(outlink, out);
|
ret = ff_filter_frame(outlink, out);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user