avfilter/vf_tinterlace: fix image alignment
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 Feb 2016 14:51:10 +0000 (15:51 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 Feb 2016 18:17:36 +0000 (19:17 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_tinterlace.c

index 835ece3..8a796ce 100644 (file)
@@ -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;