[FFmpeg-user] libavcodec/libsvtav1.c:438:70: error: too many arguments to function call, expected 2, have 3
Gyan Doshi
ffmpeg at gyani.pro
Fri Jan 31 12:55:23 EET 2025
On 2025-01-31 03:57 pm, Moritz Barsnick via ffmpeg-user wrote:
> On Fri, Jan 31, 2025 at 18:21:44 +0900, 桃源老師 wrote:
>> I'm building ffmpeg(current git head) but get the following error, and then can't step up next...
>>
>> libavcodec/libsvtav1.c:438:70: error: too many arguments to function call, expected 2, have 3
>> 438 | svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, svt_enc, &svt_enc->enc_params);
> The API of svtav1 changed recently:
> https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/988e930c1083ce518ead1d364e3a486e9209bf73
>
> Until ffmpeg fixes the problem, you need to either use a slightly older
> version of svtav1, or patch ffmpeg with the patch included in that
> commit:
The hold-up is due to SVT-AV1:
https://gitlab.com/AOMediaCodec/SVT-AV1/-/merge_requests/2355#note_2306171987
Regards,
Gyan
More information about the ffmpeg-user
mailing list