| libavcodec/libsvtav1.c: In function 'eb_enc_init':
|
| libavcodec/libsvtav1.c:438:61: error: passing argument 2 of 'svt_av1_enc_init_handle' from incompatible pointer type [-Wincompatible-pointer-types]
|
| 438 | svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, svt_enc, &svt_enc->enc_params);
|
| | ^~~~~~~
|
| | |
|
| | SvtContext *
|
| In file included from libavcodec/libsvtav1.c:25:
|
| /opt/ffbuild/include/svt-av1/EbSvtAv1Enc.h:1130:31: note: expected 'EbSvtAv1EncConfiguration *' but argument is of type 'SvtContext *'
|
| 1130 | EbSvtAv1EncConfiguration *config_ptr); // config_ptr will be loaded with default params from the library
|
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
|
| libavcodec/libsvtav1.c:438:15: error: too many arguments to function 'svt_av1_enc_init_handle'
|
| 438 | svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, svt_enc, &svt_enc->enc_params);
|
| | ^~~~~~~~~~~~~~~~~~~~~~~
|
| /opt/ffbuild/include/svt-av1/EbSvtAv1Enc.h:1124:20: note: declared here
|
| 1124 | EB_API EbErrorType svt_av1_enc_init_handle(
|
| | ^~~~~~~~~~~~~~~~~~~~~~~
|