for (i = 0; i < 3; i++) {
// Transform the luma and chroma planes
- ret = avfilter_transform(in->data[i], out->data[i], in->linesize[i], out->linesize[i],
- plane_w[i], plane_h[i], matrixs[i], interpolate, fill);
+ ret = ff_affine_transform(in->data[i], out->data[i], in->linesize[i],
+ out->linesize[i], plane_w[i], plane_h[i],
+ matrixs[i], interpolate, fill);
if (ret < 0)
return ret;
}
{ NULL }
};
-AVFilter ff_vf_deshake = {
+const AVFilter ff_vf_deshake = {
.name = "deshake",
.description = NULL_IF_CONFIG_SMALL("Stabilize shaky video."),
.priv_size = sizeof(DeshakeContext),