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>
Thu, 15 Aug 2024 10:11:01 +0000 (12:11 +0200)
commitaeb2f9af73e12d315184152d47ea05eb0edea00b
tree065448fb15bf67b8ab6e4e818b96dbd3446e60c8
parent9b6a33aa46f3ae0aecd1aeebe222a8958676491b
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 0005-avcodec-use-p_dec-fmt_out-instead-of-context-channel.patch
modules/codec/avcodec/audio.c