mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 13:30:45 +00:00
avfilter/vf_tinterlace: fix image alignment
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a678d66781
commit
b65ea6ab44
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user