aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-16 01:06:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-16 01:06:18 +0100
commit08ee02deca81fe4c4db356f89132b0f87deffeb6 (patch)
treeeaf41d6408098fbb9f5a4e70398bf430bd092456
parentf3cba01ccefebd23c1f095170f7726896e3974a6 (diff)
downloadffmpeg-08ee02deca81fe4c4db356f89132b0f87deffeb6.tar.gz
avfilter/vf_tinterlace: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vf_tinterlace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c
index 2a5f3d91ee..133f073631 100644
--- a/libavfilter/vf_tinterlace.c
+++ b/libavfilter/vf_tinterlace.c
@@ -180,7 +180,7 @@ void copy_picture_field(TInterlaceContext *tinterlace,
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(format);
int plane, vsub = desc->log2_chroma_h;
int k = src_field == FIELD_UPPER_AND_LOWER ? 1 : 2;
- int h, i;
+ int h;
for (plane = 0; plane < desc->nb_components; plane++) {
int lines = plane == 1 || plane == 2 ? FF_CEIL_RSHIFT(src_h, vsub) : src_h;