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, 14 Jan 2025 22:09:47 +0000 (23:09 +0100)
commit3cda4370e16504f9230b3802eafc508126cf306e
tree9ebd2c019ac407f0cd4d062f566298eb8eaf4a53
parentc7097942291009c22d0d371eecabe61a3c8bfa39
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