[Bug 278705] multimedia/ffmpeg: update to 8.0.1 (WIP)
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 278705] multimedia/ffmpeg: update to 7.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Dec 2025 14:10:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278705
--- Comment #39 from Dima Panov <fluffy@FreeBSD.org> ---
BTW, ffmpeg8 is broken with LENSFUN
====
libavfilter/vf_lensfun.c:220:63: error: too many arguments to function call,
expected 5, have 7
216 | lensfun->modifier = lf_modifier_create(lensfun->lens,
| ~~~~~~~~~~~~~~~~
217 |
lensfun->focal_length,
218 |
lensfun->camera->CropFactor,
219 | inlink->w,
220 | inlink->h, LF_PF_U8,
lensfun->reverse);
|
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/lensfun/lensfun.h:3075:23: note: 'lf_modifier_create'
declared here
3075 | LF_EXPORT lfModifier *lf_modifier_create (
| ^
3076 | float imgcrop, int imgwidth, int imgheight, lfPixelFormat
pixel_format, bool reverse);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:222:119: error: too few arguments to function call,
expected 5, have 3
222 |
lf_modifier_enable_vignetting_correction(lensfun->modifier, lensfun->aperture,
lensfun->focus_distance);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^
/usr/local/include/lensfun/lensfun.h:3097:15: note:
'lf_modifier_enable_vignetting_correction' declared here
3097 | LF_EXPORT int lf_modifier_enable_vignetting_correction (
| ^
3098 | lfModifier *modifier, const lfLens* lens, float focal, float
aperture, float distance);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:224:75: error: too few arguments to function call,
expected 3, have 1
224 |
lf_modifier_enable_distortion_correction(lensfun->modifier);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^
/usr/local/include/lensfun/lensfun.h:3091:15: note:
'lf_modifier_enable_distortion_correction' declared here
3091 | LF_EXPORT int lf_modifier_enable_distortion_correction (lfModifier
*modifier, const lfLens* lens, float focal);
| ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:225:100: error: too few arguments to function call,
expected 4, have 2
225 |
lf_modifier_enable_projection_transform(lensfun->modifier,
lensfun->target_geometry);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^
/usr/local/include/lensfun/lensfun.h:3101:17: note:
'lf_modifier_enable_projection_transform' declared here
3101 | LF_EXPORT cbool lf_modifier_enable_projection_transform (
| ^
3102 | lfModifier *modifier, const lfLens* lens, float focal, lfLensType
target_projection);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:229:68: error: too few arguments to function call,
expected 3, have 1
229 | lf_modifier_enable_tca_correction(lensfun->modifier);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/lensfun/lensfun.h:3094:15: note:
'lf_modifier_enable_tca_correction' declared here
3094 | LF_EXPORT int lf_modifier_enable_tca_correction (lfModifier *modifier,
const lfLens* lens, float focal);
| ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings and 5 errors generated.
gmake: *** [ffbuild/common.mak:81: libavfilter/vf_lensfun.o] Error 1
====
--
You are receiving this mail because:
You are on the CC list for the bug.