diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-10 23:55:21 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-11 00:03:23 +0100 |
commit | b11a889055188f296bd8993883e3fdff84f17f5e (patch) | |
tree | e2a4b89fa6184ba855d1924a2abb5045a5b8a402 | |
parent | e7101a7f3f6d00c0f362b4ea781a5bfef0ceb257 (diff) | |
download | ffmpeg-b11a889055188f296bd8993883e3fdff84f17f5e.tar.gz |
vf_tinterlace: default of mode switch is impossible, add assert.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_tinterlace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 496576d986..843a66c716 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -309,6 +309,8 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *picref) inlink->format, inlink->w, inlink->h, tff ? FIELD_UPPER : FIELD_LOWER, 1, tff ? FIELD_UPPER : FIELD_LOWER); break; + default: + av_assert0(0); } ret = ff_filter_frame(outlink, out); |