lavfi/vidstab: make use of direct variable.

This commit is contained in:
Clément Bœsch 2013-04-24 17:16:27 +02:00
parent 9273cc8eb5
commit 111ac10b60

View File

@ -237,7 +237,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
inframe.data[plane] = in->data[plane];
inframe.linesize[plane] = in->linesize[plane];
}
if (out == in) { // inplace
if (direct) {
vsTransformPrepare(td, &inframe, &inframe);
} else { // separate frames
VSFrame outframe;