m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.51k stars 262 forks source link

error: too many arguments to function 'JxlDecoderGetColorAsEncodedProfile' #2468

Closed CuplexUser closed 1 year ago

CuplexUser commented 1 year ago

I get a compile error on ffmpeg:

J:/media-autobuild_suite/local64/include/jxl/decode.h:723:50: note: expected 'JxlColorProfileTarget' but argument is of type 'JxlPixelFormat ' 723 | const JxlDecoder dec, JxlColorProfileTarget target, | ~~~~^~~~ src/libavcodec/libjxldec.c:261:20: error: too many arguments to function 'JxlDecoderGetColorAsEncodedProfile' 261 | jret = JxlDecoderGetColorAsEncodedProfile(ctx->decoder, &ctx->jxl_pixfmt, JXL_COLOR_PROFILE_TARGET_DATA, &jxl_color); | ^~~~~~~~~~ J:/media-autobuild_suite/local64/include/jxl/decode.h:722:29: note: declared here 722 | JXL_EXPORT JxlDecoderStatus JxlDecoderGetColorAsEncodedProfile(

Logs attached logs.zip

Biswa96 commented 1 year ago

Duplicate of https://github.com/m-ab-s/media-autobuild_suite/issues/2466

CuplexUser commented 1 year ago

@Biswa96 Yes I noticed that too after submitting the Issue. Builds perfectly now without any problems after updating ffmpeg_options.txt with:

--enable-libjxl