avcodec: fix libavcodec version check for AVCodecContext.ch_layout
authorSteve Lhomme <robux4@ycbcr.xyz>
Wed, 19 Jun 2024 11:41:04 +0000 (13:41 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Fri, 7 Mar 2025 06:31:22 +0000 (07:31 +0100)
commit89420697a0ef0f55b9edbee3cb2e81c0a454d711
treeb223b878cb25bb9734df9f7f9442a81db36b49fc
parentec5928589739eaba8a385ff0293b06e9e4c8d0c9
avcodec: fix libavcodec version check for AVCodecContext.ch_layout

It was added in 548aeb93834b8425c86d1ce60fddc1d41805724d which
was libavcodec 59.23.100 at the time but the minor version was not updated in
that commit so we check 59.24.100.

This is part of FFmpeg 5.1.

https://github.com/FFmpeg/FFmpeg/commit/548aeb93834b8425c86d1ce60fddc1d41805724d

Co-authored-by: François Cartegnie <fcvlcdev@free.fr>
(cherry picked from commit 8fd918b8787b8d077decf1a2b955ab0c7b964bf3) (rebased)
rebased:
- on 3.0 fmt_in is not a pointer

Gbp-Pq: Name 0094-avcodec-fix-libavcodec-version-check-for-AVCodecCont.patch
modules/codec/avcodec/audio.c