From b65ea6ab449012b45fdfe0c006217e8bc5c59a94 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 14 Feb 2016 15:51:10 +0100 Subject: [PATCH] avfilter/vf_tinterlace: fix image alignment Signed-off-by: Michael Niedermayer --- libavfilter/vf_tinterlace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 835ece3ebb..8a796ce933 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -131,7 +131,7 @@ static int config_out_props(AVFilterLink *outlink) if (ff_fmt_is_in(outlink->format, full_scale_yuvj_pix_fmts)) black[0] = black[3] = 0; ret = av_image_alloc(tinterlace->black_data, tinterlace->black_linesize, - outlink->w, outlink->h, outlink->format, 1); + outlink->w, outlink->h, outlink->format, 16); if (ret < 0) return ret;