avcodec: use p_dec->fmt_out instead of context channels on audio channel-count
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 5 Jul 2023 09:51:34 +0000 (12:51 +0300)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 21 Jan 2025 18:02:47 +0000 (19:02 +0100)
commitccc2f5ff6329a970225990bd44096c226711c8d8
tree15553fff8a53ddee51c8163ec2830a7127ddd66a
parent06f5504038ab1b3dc1c8047dd483c7aedfa78158
avcodec: use p_dec->fmt_out instead of context channels on audio channel-count

reduces the need of ifdefs when adding ch_layout support

(cherry picked from commit bddf5ba19111d1cc4463d9876c4bc4ba75f82d7f)

Gbp-Pq: Name 0066-avcodec-use-p_dec-fmt_out-instead-of-context-channel.patch
modules/codec/avcodec/audio.c