On Tue, Jan 28, 2025 at 09:57:57AM -0300, James Almer wrote: > Missed in ffc4fd3cc2ccb2cadb71f19849842b18ca1281c6, which after > e78173557da898f18a78241cc3525b76694164b5 broke setting channel count. > > Should fix ticket #11434. > > Signed-off-by: James Almer > --- > libavdevice/alsa.h | 4 ++++ > libavdevice/alsa_dec.c | 24 +++++++++++++++++++----- > libavdevice/version_major.h | 1 + > 3 files changed, 24 insertions(+), 5 deletions(-) seems not to build on its own (if its intended to) libavdevice/alsa_dec.c:163:59: error: ‘AV_OPT_TYPE_CH_LAYOUT’ undeclared here (not in a function); did you mean ‘AV_OPT_TYPE_CHLAYOUT’? 163 | { "ch_layout", "", offsetof(AlsaData, ch_layout), AV_OPT_TYPE_CH_LAYOUT, {.str = "2C"}, INT_MIN, INT_MAX, AV_OPT_FLAG_DECODING_PARAM }, | ^~~~~~~~~~~~~~~~~~~~~ | AV_OPT_TYPE_CHLAYOUT make: *** [ffbuild/common.mak:81: libavdevice/alsa_dec.o] Error 1 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I do not agree with what you have to say, but I'll defend to the death your right to say it. -- Voltaire