vf_tinterlace: default of mode switch is impossible, add assert.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/8/head
Michael Niedermayer 12 years ago
parent e7101a7f3f
commit b11a889055
  1. 2
      libavfilter/vf_tinterlace.c

@ -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…
Cancel
Save