ffmpeg: fix libavutil version check for av_channel_layout_default()
authorSteve Lhomme <robux4@ycbcr.xyz>
Tue, 18 Jun 2024 13:34:10 +0000 (15:34 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 21 Jan 2025 18:02:47 +0000 (19:02 +0100)
commit1ff1c22fcb0515ad0b17abb97585dec896826eed
tree0a966e6d733188150f073071afa51db5becc0e41
parent699e4de230e6634bfd9aae3ae0e2724b230870e0
ffmpeg: fix libavutil version check for av_channel_layout_default()

It was added in c41899a3770cb4510e15b223fa34d129305b1589 which
was libavutil 57.23.100 at the time but the minor version was not updated in
that commit so we check 57.24.100.

The same check applies for av_channel_layout_copy() added in the same commit.

This is part of FFmpeg 5.1.

https://github.com/FFmpeg/FFmpeg/commit/086a8048061bf9fb4c63943f6962db48175f655c
(cherry picked from commit 195f0c98599b55950c49a62f98d9d3495be310df) (rebased)
rebased:
- the code around is slightly different

Gbp-Pq: Name 0092-ffmpeg-fix-libavutil-version-check-for-av_channel_la.patch
modules/codec/avcodec/encoder.c
modules/demux/avformat/mux.c