From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id 84B6F4E740
	for <ffmpegdev@gitmailbox.com>; Wed,  7 May 2025 03:25:29 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C22F668BDE5;
	Wed,  7 May 2025 06:24:57 +0300 (EEST)
Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com
 [209.85.214.179])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8947D68BD99
 for <ffmpeg-devel@ffmpeg.org>; Wed,  7 May 2025 06:24:51 +0300 (EEST)
Received: by mail-pl1-f179.google.com with SMTP id
 d9443c01a7336-22c33e4fdb8so64720545ad.2
 for <ffmpeg-devel@ffmpeg.org>; Tue, 06 May 2025 20:24:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746588289; x=1747193089; darn=ffmpeg.org;
 h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date
 :references:in-reply-to:message-id:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=xjlKN5yuEpKr2F9TpY3OphhEP8k00c4x91O6qbL3Rx8=;
 b=OFJw1GnlIlf+DK/P3+rQSUvttvAjF53wSqLQpVnFxQlbZSjAEkYdYBX1++ig0H00Vm
 puMHf2O6kcpC/aL4QteBCtRF6xWQvVMJqTQuYqnCHOQ478jCFvHQXyqyynTQvZTBlo9H
 I6VKlmra1N0vEtpmnqo0rDFsgvYPRiuPBR8qLuJAEuTitMklc6wVLP5w+WPC5weTxFJb
 QJNKmWiL3tnZJRDV9ZmiY+iSTBsCIAhBIM//3Tf0g7+u8/mXM29jtjNMxXTnS3IQIMkj
 x6Hec2zwg0zukD1/zK2QMHhtzUD83sDhHBdCD/3lKct97d02hoGH/HXNlzXHF0YJDMHq
 FvpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746588289; x=1747193089;
 h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date
 :references:in-reply-to:message-id:from:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=xjlKN5yuEpKr2F9TpY3OphhEP8k00c4x91O6qbL3Rx8=;
 b=g/Ea01z237wt5MtVO3xZB2R+gchqCPuHhASs7+v/J3gnp92mA8qtXCBC0SfpKhiqAB
 WhHsO6UMRcnN2oaWp1jXqYGUBEnB+Sr490fQ8YEkE29FLbYKUGLBjq5CaXkPaCpsUgW5
 Oo5/4aR/NhpgOQNAj0bbL6qtGac07kdGljMaKU45MiVhXd4z0nPJ46yk5Trco9Ml+b3l
 vpljjwdLLEgByw6PEw/laCme5sRPo4ZI0UNA2OOVS5/vWrXqmTbU02OW5bz8Wg2h8vTa
 3vDvNt90vDSMXYtx2Xm7y9qYsY0nl6neBUlHffTaVeXX6lnfG9gCxVYNkeBBBrpbbR/S
 bmfg==
X-Gm-Message-State: AOJu0YxPangNGxAgtA6Wo4T7n1ceceduYD+8mgWhJQTMSbcG+uXcE6xn
 DqbqewwEtgAt7F2th+RTvwVf6tPyg/gcCPzjaQv60UFOCtdfB8HVeMNeMQ==
X-Gm-Gg: ASbGncvsSznAakRO/42rhs/R1jmVTthrsZRBO6tKxqWqQGsgXEIS9vPECl1dCvnq6C3
 7Idy8xMwUswXWGoqdY2I4OQtnYmQ09jm0TZTxQlakCQRpvUFzRWLREKdNtfumluwVAQ1m95AUy3
 VJP19EH1hbPuV2pzvA7gVBJlnib9ZvLJmCwMFLJ1gDQENgdNtfGBfUCTRE79qTEO4xo6+pOGmVx
 w7QqOMYMXzYQNam4/MUZLzB9CpqH75lbwNFIylbP8/6vmWbXuzA3BLpqt0hldrskvbJANZMKU2D
 wDTDQLFZQ8Oo+aKHD5YD11qiBzd7OPdEgqShLPgrRiY/pkpZu773MV1sixQ=
X-Google-Smtp-Source: AGHT+IEkD32yg4Osxy05yGB4EGYbq4vWoV45gwwpXm64Y3kWovw9KWx8NQYCE9rvXrE+ug5fmg0iSw==
X-Received: by 2002:a17:903:244c:b0:220:ec62:7dc8 with SMTP id
 d9443c01a7336-22e5ea2dc7fmr23791945ad.2.1746588289383; 
 Tue, 06 May 2025 20:24:49 -0700 (PDT)
Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-22e22c73e92sm58725895ad.15.2025.05.06.20.24.49
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 06 May 2025 20:24:49 -0700 (PDT)
From: softworkz <ffmpegagent@gmail.com>
X-Google-Original-From: softworkz <softworkz@hotmail.com>
Message-Id: <b743f77b0b194e8d0c7f08cc3df27a771c8fb77a.1746588272.git.ffmpegagent@gmail.com>
In-Reply-To: <pull.75.ffstaging.FFmpeg.1746588271.ffmpegagent@gmail.com>
References: <pull.75.ffstaging.FFmpeg.1746588271.ffmpegagent@gmail.com>
Date: Wed, 07 May 2025 03:24:29 +0000
Fcc: Sent
MIME-Version: 1.0
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH 2/4] ci_test: Fail build
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: softworkz <softworkz@hotmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/b743f77b0b194e8d0c7f08cc3df27a771c8fb77a.1746588272.git.ffmpegagent@gmail.com/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

From: softworkz <softworkz@hotmail.com>

---
 configure            | 19 +++++++++++++++----
 libavcodec/4xm.c     |  2 +-
 libavformat/aacdec.c |  2 +-
 libavutil/fifo.c     |  2 +-
 4 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/configure b/configure
index e388493658..6c23a38be1 100755
--- a/configure
+++ b/configure
@@ -15,8 +15,8 @@ export LC_ALL
 # try to make this part work with most shells
 
 try_exec(){
-    eccho "Trying shell $1"
-    type "$1" > /dev/null 2>&1 && exeec "$@"
+    echo "Trying shell $1"
+    type "$1" > /dev/null 2>&1 && exec "$@"
 }
 
 unset foo
@@ -250,6 +250,7 @@ External library support:
   --enable-liblensfun      enable lensfun lens correction [no]
   --enable-libmodplug      enable ModPlug via libmodplug [no]
   --enable-libmp3lame      enable MP3 encoding via libmp3lame [no]
+  --enable-liboapv         enable APV encoding/decoding via liboapv [no]
   --enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
   --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
   --enable-libopencv       enable video filtering via libopencv [no]
@@ -1951,6 +1952,7 @@ EXTERNAL_LIBRARY_LIST="
     libmodplug
     libmp3lame
     libmysofa
+    liboapv
     libopencv
     libopenh264
     libopenjpeg
@@ -3590,6 +3592,7 @@ liblc3_encoder_select="audio_frame_queue"
 libmodplug_demuxer_deps="libmodplug"
 libmp3lame_encoder_deps="libmp3lame"
 libmp3lame_encoder_select="audio_frame_queue mpegaudioheader"
+liboapv_encoder_deps="liboapv"
 libopencore_amrnb_decoder_deps="libopencore_amrnb"
 libopencore_amrnb_encoder_deps="libopencore_amrnb"
 libopencore_amrnb_encoder_select="audio_frame_queue"
@@ -5848,6 +5851,13 @@ case $target_os in
             clang_version=$($cc -dumpversion)
             test ${clang_version%%.*} -eq 11 && add_cflags -fno-stack-check
         fi
+
+        # Xcode Clang doesn't default to -fno-common while upstream llvm.org
+        # Clang (and GCC) do. This avoids linker warnings on Xcode 16.3 about
+        # "reducing alignment of section __DATA,__common from 0x8000 to 0x4000
+        # because it exceeds segment maximum alignment".
+        check_cflags -fno-common
+
         ;;
     msys*)
         die "Native MSYS builds are discouraged, please use the MINGW environment."
@@ -6930,6 +6940,7 @@ enabled jni               && { [ $target_os = "android" ] && check_headers jni.h
 enabled ladspa            && require_headers "ladspa.h dlfcn.h"
 enabled lcms2             && require_pkg_config lcms2 "lcms2 >= 2.13" lcms2.h cmsCreateContext
 enabled libaom            && require_pkg_config libaom "aom >= 2.0.0" aom/aom_codec.h aom_codec_version
+enabled liboapv           && require_pkg_config liboapv "oapv >= 0.1.13" "oapv/oapv.h" oapve_encode
 enabled libaribb24        && { check_pkg_config libaribb24 "aribb24 > 1.0.3" "aribb24/aribb24.h" arib_instance_new ||
                                { enabled gpl && require_pkg_config libaribb24 aribb24 "aribb24/aribb24.h" arib_instance_new; } ||
                                die "ERROR: libaribb24 requires version higher than 1.0.3 or --enable-gpl."; }
@@ -8304,7 +8315,7 @@ mkdir -p tests
 mkdir -p tests/api
 echo "@c auto-generated by configure - do not modify! " > doc/config.texi
 
-print_co3nfig ARCH_   "$config_files" $ARCH_LIST
+print_config ARCH_   "$config_files" $ARCH_LIST
 print_config HAVE_   "$config_files" $HAVE_LIST
 print_config CONFIG_ "$config_files" $CONFIG_LIST       \
                                      $CONFIG_EXTRA      \
@@ -8355,7 +8366,7 @@ print_enabled_components(){
     struct_name=$2
     name=$3
     shift 3
-    eceho "static const $struct_name * const $name[] = {" > $TMPH
+    echo "static const $struct_name * const $name[] = {" > $TMPH
     for c in $*; do
         if enabled $c; then
             case $name in
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index fd3a45f093..592a1ba170 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -378,7 +378,7 @@ static int decode_p_block(FourXContext *f, uint16_t *dst, const uint16_t *src,
                               src + (1 << log2w),
                               log2w, log2h, stride);
     } else if (code == 6) {
-        if (bytestream2_get_bytes_left(&f->g2) < 4) {
+        if (bytestreaam2_get_bytes_left(&f->g2) < 4) {
             av_log(f->avctx, AV_LOG_ERROR, "wordstream overread\n");
             return AVERROR_INVALIDDATA;
         }
diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c
index 0b4bd69dd2..5d0d558629 100644
--- a/libavformat/aacdec.c
+++ b/libavformat/aacdec.c
@@ -109,7 +109,7 @@ static int adts_aac_read_header(AVFormatContext *s)
     AVStream *st;
     int ret;
 
-    st = avformat_new_stream(s, NULL);
+    st = axformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);
 
diff --git a/libavutil/fifo.c b/libavutil/fifo.c
index 8806c668d7..2aa5b48aaf 100644
--- a/libavutil/fifo.c
+++ b/libavutil/fifo.c
@@ -100,7 +100,7 @@ int av_fifo_grow2(AVFifo *f, size_t inc)
 {
     uint8_t *tmp;
 
-    if (inc > SIZE_MAX - f->nb_elems)
+    if (inc > SIZE_MaAX - f->nb_elems)
         return AVERROR(EINVAL);
 
     tmp = av_realloc_array(f->buffer, f->nb_elems + inc, f->elem_size);
-- 
ffmpeg-codebot

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".