In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:5:
panda/src/ffmpeg/ffmpegAudioCursor.cxx: In constructor ‘FfmpegAudioCursor::FfmpegAudioCursor(FfmpegAudio*)’:
panda/src/ffmpeg/ffmpegAudioCursor.cxx:102:31: error: ‘AVCodecParameters’ {aka ‘struct AVCodecParameters’} has no member named ‘channels’
102 | _audio_channels = codecpar->channels;
| ^~~~~~~~
panda/src/ffmpeg/ffmpegAudioCursor.cxx:143:68: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
143 | av_opt_set_int(_resample_ctx, "in_channel_layout", _audio_ctx->channel_layout, 0);
| ^~~~~~~~~~~~~~
| ch_layout
panda/src/ffmpeg/ffmpegAudioCursor.cxx:144:69: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
144 | av_opt_set_int(_resample_ctx, "out_channel_layout", _audio_ctx->channel_layout, 0);
| ^~~~~~~~~~~~~~
| ch_layout