[vlc-commits] [Git][videolan/vlc][master] mediacodec: add missing AOUT_CHAN_MIDDLERIGHT in channel extraction
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Nov 29 08:08:32 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
9752c79e by Steve Lhomme at 2026-11-29T07:56:58+00:00
mediacodec: add missing AOUT_CHAN_MIDDLERIGHT in channel extraction
aout_CheckChannelExtraction() expects the number of items in the src table.
If the number of channel is 9 it was rejected, not allowing
AOUT_CHAN_MIDDLERIGHT to be mapped.
- - - - -
1 changed file:
- modules/codec/omxil/mediacodec.c
Changes:
=====================================
modules/codec/omxil/mediacodec.c
=====================================
@@ -1830,7 +1830,7 @@ static int Audio_ProcessOutput(decoder_t *p_dec, mc_api_out *p_out,
assert(p_out->type == MC_OUT_TYPE_CONF);
if (p_out->conf.audio.channel_count <= 0
- || p_out->conf.audio.channel_count > 8
+ || p_out->conf.audio.channel_count > ARRAY_SIZE(pi_audio_order_src)
|| p_out->conf.audio.sample_rate <= 0)
{
msg_Warn(p_dec, "invalid audio properties channels count %d, sample rate %d",
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9752c79e1f55829700d778aa5251105e4e801852
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9752c79e1f55829700d778aa5251105e4e801852
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list