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, 14 Jan 2025 22:09:47 +0000 (23:09 +0100)
commit59a78f20645e3bcc4fa2f44144676a1cc1eec993
tree4c3efca08f0a8804bfba49fd0a7c8adac2eb5b42
parent80b38cd396667a669c85e44d26ca22378c051bd4
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