Ticket #3296: vidstab_fix.patch

File vidstab_fix.patch, 814 bytes (added by Mohammad AlSaleh, 13 years ago)

Compile fix for vidstab filter

  • libavfilter/vf_vidstabtransform.c

     libavfilter/vf_vidstabtransform.c | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/libavfilter/vf_vidstabtransform.c b/libavfilter/vf_vidstabtransform.c
    index 3c0a5ee..d5f4a2f 100644
    a b static int config_input(AVFilterLink *inlink)  
    186186        VSManyLocalMotions mlms;
    187187        if (vsReadLocalMotionsFile(f, &mlms) == VS_OK) {
    188188            // calculate the actual transforms from the local motions
    189             if (vsLocalmotions2TransformsSimple(td, &mlms, &tc->trans) != VS_OK) {
     189            if (vsLocalmotions2Transforms(td, &mlms, &tc->trans) != VS_OK) {
    190190                av_log(ctx, AV_LOG_ERROR, "calculating transformations failed\n");
    191191                return AVERROR(EINVAL);
    192192            }