avcodec: use ch_layout for channel layout in audio encoder
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 4 Jul 2023 13:55:28 +0000 (16:55 +0300)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 21 Jan 2025 18:02:47 +0000 (19:02 +0100)
commit44308dfcc615eea2c74cb6a773d529d03bf65d47
tree471b5444401736f2362579f14d9c09678120d5bf
parent06980c247f188c5bb627725d427626d7bb4f6e65
avcodec: use ch_layout for channel layout in audio encoder

channels and channel_layout has been deprecated in FFMPEG 5.1 and will be removed eventually

also always create the mapping, as ch_layout is always there

(cherry picked from commit b73dc8841d999c6be9de718cd2cd3aeb13279792)

Gbp-Pq: Name 0074-avcodec-use-ch_layout-for-channel-layout-in-audio-en.patch
modules/codec/avcodec/encoder.c