mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 19:34:43 +00:00
avfilter/vf_tinterlace: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f3cba01cce
commit
08ee02deca
@ -180,7 +180,7 @@ void copy_picture_field(TInterlaceContext *tinterlace,
|
|||||||
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(format);
|
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(format);
|
||||||
int plane, vsub = desc->log2_chroma_h;
|
int plane, vsub = desc->log2_chroma_h;
|
||||||
int k = src_field == FIELD_UPPER_AND_LOWER ? 1 : 2;
|
int k = src_field == FIELD_UPPER_AND_LOWER ? 1 : 2;
|
||||||
int h, i;
|
int h;
|
||||||
|
|
||||||
for (plane = 0; plane < desc->nb_components; plane++) {
|
for (plane = 0; plane < desc->nb_components; plane++) {
|
||||||
int lines = plane == 1 || plane == 2 ? FF_CEIL_RSHIFT(src_h, vsub) : src_h;
|
int lines = plane == 1 || plane == 2 ? FF_CEIL_RSHIFT(src_h, vsub) : src_h;
|
||||||
|
Loading…
Reference in New Issue
Block a user