Ja. Nah dran
Code
codec.c:945:93: error: expected expression before '{' token
945 | av_opt_set_channel_layout(audio_decoder->Resample, "out_channel_layout", CodecDownmix ? AV_CHANNEL_LAYOUT_STEREO_DOWNMIX : audio_ctx->channel_layout, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
codec.c:945:5: error: too few arguments to function 'av_opt_set_channel_layout'
945 | av_opt_set_channel_layout(audio_decoder->Resample, "out_channel_layout", CodecDownmix ? AV_CHANNEL_LAYOUT_STEREO_DOWNMIX : audio_ctx->channel_layout, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/rh/projekte/VDRSternELEC/CoreELEC/build.CoreELEC-Amlogic-no.aarch64-22/toolchain/aarch64-libreelec-linux-gnu/sysroot/usr/include/libavutil/opt.h:702:5: note: declared here
702 | int av_opt_set_channel_layout(void *obj, const char *name, int64_t ch_layout, int search_flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
codec.c:947:78: error: 'AVCodecContext' has no member named 'HwSampleRate'; did you mean 'sample_rate'?
947 | av_opt_set_int(audio_decoder->Resample, "out_sample_rate", audio_ctx->HwSampleRate, 0);
| ^~~~~~~~~~~~
| sample_rate
make[1]: *** [<builtin>: codec.o] Error 1
Display More