lavfi/vf_super2xsai: fix output ref size.

This commit is contained in:
Nicolas George 2012-12-02 17:08:17 +01:00
parent bd465fdc73
commit ddd87236f0

View File

@ -312,6 +312,8 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref)
return AVERROR(ENOMEM);
}
avfilter_copy_buffer_ref_props(outpicref, inpicref);
outpicref->video->w = outlink->w;
outpicref->video->h = outlink->h;
super2xsai(inlink->dst, inpicref->data[0], inpicref->linesize[0],
outpicref->data[0], outpicref->linesize[0],