[ffmpeg] branch master updated. 7c78a63476 avcodec/mpegaudiodec_float: Don't set AVCodec.sample_fmts directly
The branch, master has been updated via 7c78a63476da6360063d45f74cb1d9fc94047278 (commit) via cf30a3757fc7459ece7e83d8e6fcce7f80546817 (commit) from e63e040f0cef2d6af2fb57aefa6250fc450fa049 (commit) - Log ----------------------------------------------------------------- commit 7c78a63476da6360063d45f74cb1d9fc94047278 Author: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> AuthorDate: Tue Sep 23 05:42:59 2025 +0200 Commit: James Almer <jamrial@gmail.com> CommitDate: Tue Sep 23 22:16:02 2025 +0000 avcodec/mpegaudiodec_float: Don't set AVCodec.sample_fmts directly It is deprecated and doing so gives warnings from Clang. Use CODEC_SAMPLEFMTS instead. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> diff --git a/libavcodec/mpegaudiodec_float.c b/libavcodec/mpegaudiodec_float.c index 232e2fa201..e713e9e251 100644 --- a/libavcodec/mpegaudiodec_float.c +++ b/libavcodec/mpegaudiodec_float.c @@ -115,9 +115,7 @@ const FFCodec ff_ahx_decoder = { .p.capabilities = AV_CODEC_CAP_CHANNEL_CONF | AV_CODEC_CAP_DR1, .flush = flush, - .p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, - AV_SAMPLE_FMT_FLT, - AV_SAMPLE_FMT_NONE }, + CODEC_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_FLT), .bsfs = "ahx_to_mp2", }; #endif commit cf30a3757fc7459ece7e83d8e6fcce7f80546817 Author: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> AuthorDate: Tue Sep 23 05:40:39 2025 +0200 Commit: James Almer <jamrial@gmail.com> CommitDate: Tue Sep 23 22:16:02 2025 +0000 configure: Add missing dependencies for AHX decoder Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> diff --git a/configure b/configure index a7bb518d70..e5764a17a3 100755 --- a/configure +++ b/configure @@ -2979,6 +2979,7 @@ adpcm_n64_decoder_deps="lgpl_gpl" adpcm_psxc_decoder_deps="lgpl_gpl" agm_decoder_select="idctdsp" ahx_decoder_deps="lgpl_gpl" +ahx_decoder_select="mpegaudio ahx_to_mp2_bsf" aic_decoder_select="golomb idctdsp" alac_encoder_select="lpc" als_decoder_select="bswapdsp mpeg4audio" ----------------------------------------------------------------------- Summary of changes: configure | 1 + libavcodec/mpegaudiodec_float.c | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) hooks/post-receive --
participants (1)
-
ffmpeg-git@ffmpeg.org