]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vf_tinterlace: remove unused variable
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 16 Nov 2014 00:06:18 +0000 (01:06 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 16 Nov 2014 00:06:18 +0000 (01:06 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_tinterlace.c

index 2a5f3d91ee0c555050431cfaff72001355a5e344..133f073631046e311eef2e76d05a043cbd1f4bfb 100644 (file)
@@ -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;