[vlc-commits] [Git][videolan/vlc][master] Revert "avcodec: do not use audio channels that don't map in VLC"
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Jul 30 07:34:39 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
77fc1594 by Steve Lhomme at 2026-07-30T07:22:13+00:00
Revert "avcodec: do not use audio channels that don't map in VLC"
This reverts commit 63ca0384c36104b9a8368d40f73ee4d46b9167fb.
The fix for #29634 was already done in d8f3c77caaf827e00f3569b9d8383f62c9a88d8a.
It even says so in the issue...
- - - - -
1 changed file:
- modules/codec/avcodec/audio.c
Changes:
=====================================
modules/codec/avcodec/audio.c
=====================================
@@ -690,7 +690,7 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
for( unsigned i = 0; pi_channels_map[i][0]
&& i_channels_src < channel_count; i++ )
{
- if( (channel_layout_mask & pi_channels_map[i][0]) && pi_channels_map[i][1] )
+ if( channel_layout_mask & pi_channels_map[i][0] )
pi_order_src[i_channels_src++] = pi_channels_map[i][1];
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/77fc1594e2d3804f6e4ca06ea27736fb2acadae0
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/77fc1594e2d3804f6e4ca06ea27736fb2acadae0
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