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>
Fri, 7 Mar 2025 06:31:22 +0000 (07:31 +0100)
commitac895444b9f226ae1f0a48c8d217304e7e1c0ccd
tree1afc960284d33ca4c2d1dc8ccf35e3c3ad515028
parent4efc3d5c3b123409dd2ba900b9378d7cdba4a13d
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