Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2021 14:23:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 255035] multimedia/ffmpeg: fix build with lensfun option enabled
Message-ID:  <bug-255035-12827-sL7HhtoAR9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255035-12827@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 255035: multimedia/ffmpeg: fix build with lensfun option enabled
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255035



--- Description ---
ffmpeg 4.4 switched to trunk lensfun API that is incompartible with lensfun
version from our ports. So build of ffmpeg with lensfun option enabled fails
with the following message:
libavfilter/vf_lensfun.c:231:119: error: too few arguments to function call,
expected 5, have 3
		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
LF_EXPORT int lf_modifier_enable_vignetting_correction (
	      ^
libavfilter/vf_lensfun.c:233:75: error: too few arguments to function call,
expected 3, have 1

and others.

The attached patch rollbacks some upstream changes to make ffmpeg buildable
again.
This patch is intended to be removed after lensfun upgrade.


home | help

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