Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2021 19:35:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 255035] multimedia/ffmpeg: fix build with lensfun option enabled
Message-ID:  <bug-255035-12827-tpksLCk55I@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255035-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255035-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255035

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3Deabfea6cac19287dcb343a48d8a3594=
2d8d33d42

commit eabfea6cac19287dcb343a48d8a35942d8d33d42
Author:     Oleg Sidorkin <osidorkin@gmail.com>
AuthorDate: 2021-04-13 14:23:59 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-04-15 19:34:43 +0000

    multimedia/ffmpeg: unbreak LENSFUN=3DON after 3d7938b00655

    libavfilter/vf_lensfun.c:229:63: error: too many arguments to function
call, expected 5, have 7
                                                       inlink->h, LF_PF_U8,
lensfun->reverse);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
^~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/local/include/lensfun/lensfun.h:3075:11: note: 'lf_modifier_create'
declared here
    LF_EXPORT lfModifier *lf_modifier_create (
              ^
    libavfilter/vf_lensfun.c:231:119: error: too few arguments to function
call, expected 5, have 3
                    lf_modifier_enable_vignetting_correction(lensfun->modif=
ier,
lensfun->aperture, lensfun->focus_distance);
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                                          ^
    /usr/local/include/lensfun/lensfun.h:3097:11: note:
'lf_modifier_enable_vignetting_correction' declared here
    LF_EXPORT int lf_modifier_enable_vignetting_correction (
              ^
    libavfilter/vf_lensfun.c:233:75: error: too few arguments to function c=
all,
expected 3, have 1
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
lf_modifier_enable_distortion_correction(lensfun->modifier);
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               =
   ^
    /usr/local/include/lensfun/lensfun.h:3091:11: note:
'lf_modifier_enable_distortion_correction' declared here
    LF_EXPORT int lf_modifier_enable_distortion_correction (lfModifier
*modifier, const lfLens* lens, float focal);
              ^
    libavfilter/vf_lensfun.c:234:100: error: too few arguments to function
call, expected 4, have 2
                    lf_modifier_enable_projection_transform(lensfun->modifi=
er,
lensfun->target_geometry);
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                       ^
    /usr/local/include/lensfun/lensfun.h:3101:11: note:
'lf_modifier_enable_projection_transform' declared here
    LF_EXPORT cbool lf_modifier_enable_projection_transform (
              ^
    /usr/local/include/lensfun/lensfun.h:115:15: note: expanded from macro
'cbool'
     #define cbool int
                   ^
    libavfilter/vf_lensfun.c:238:68: error: too few arguments to function c=
all,
expected 3, have 1
                    lf_modifier_enable_tca_correction(lensfun->modifier);
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  ^
    /usr/local/include/lensfun/lensfun.h:3094:11: note:
'lf_modifier_enable_tca_correction' declared here
    LF_EXPORT int lf_modifier_enable_tca_correction (lfModifier *modifier,
const lfLens* lens, float focal);
              ^

    PR:             255035

 .../files/patch-libavfilter_vf__lensfun.c (new)    | 51 ++++++++++++++++++=
++++
 1 file changed, 51 insertions(+)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255035-12827-tpksLCk55I>