You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
lavfi/vidstab: make use of direct variable.
This commit is contained in:
@@ -237,7 +237,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||||||
inframe.data[plane] = in->data[plane];
|
inframe.data[plane] = in->data[plane];
|
||||||
inframe.linesize[plane] = in->linesize[plane];
|
inframe.linesize[plane] = in->linesize[plane];
|
||||||
}
|
}
|
||||||
if (out == in) { // inplace
|
if (direct) {
|
||||||
vsTransformPrepare(td, &inframe, &inframe);
|
vsTransformPrepare(td, &inframe, &inframe);
|
||||||
} else { // separate frames
|
} else { // separate frames
|
||||||
VSFrame outframe;
|
VSFrame outframe;
|
||||||
|
|||||||
Reference in New Issue
Block a user