Closed jeroen closed 1 month ago
For PCM input the default decoder->ch_layout.order is not AV_CHANNEL_ORDER_UNSPEC. Therefore the line that makes sure the ch_layout matches the nb_channels did not run anymore.
decoder->ch_layout.order
AV_CHANNEL_ORDER_UNSPEC
ch_layout
nb_channels
For PCM input the default
decoder->ch_layout.order
is notAV_CHANNEL_ORDER_UNSPEC
. Therefore the line that makes sure thech_layout
matches thenb_channels
did not run anymore.