Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package faad2 for openSUSE:Factory checked in at 2026-03-19 17:35:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/faad2 (Old) and /work/SRC/openSUSE:Factory/.faad2.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "faad2" Thu Mar 19 17:35:35 2026 rev:4 rq:1340777 version:2.11.2 Changes: -------- --- /work/SRC/openSUSE:Factory/faad2/faad2.changes 2025-07-30 11:45:43.731596825 +0200 +++ /work/SRC/openSUSE:Factory/.faad2.new.8177/faad2.changes 2026-03-19 17:36:40.132048596 +0100 @@ -1,0 +2,9 @@ +Tue Mar 17 20:55:25 UTC 2026 - Bjørn Lie <[email protected]> + +- Add upstream bugfix patches: + + bc5de3ac7264f7a232951d06150ec1fcd4a20f6c.patch: + libfaad/fixed.h: Fix ISO C warning + + 2653c918d788c5dc83826c97aaa4de4dd8931a8b.patch: check for + mp4config.frame.nsclices == 0 + +------------------------------------------------------------------- New: ---- 2653c918d788c5dc83826c97aaa4de4dd8931a8b.patch bc5de3ac7264f7a232951d06150ec1fcd4a20f6c.patch ----------(New B)---------- New: libfaad/fixed.h: Fix ISO C warning + 2653c918d788c5dc83826c97aaa4de4dd8931a8b.patch: check for mp4config.frame.nsclices == 0 New:- Add upstream bugfix patches: + bc5de3ac7264f7a232951d06150ec1fcd4a20f6c.patch: libfaad/fixed.h: Fix ISO C warning ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ faad2.spec ++++++ --- /var/tmp/diff_new_pack.lOgPqn/_old 2026-03-19 17:36:40.660070472 +0100 +++ /var/tmp/diff_new_pack.lOgPqn/_new 2026-03-19 17:36:40.660070472 +0100 @@ -31,6 +31,10 @@ URL: https://github.com/knik0/faad2 Source0: %name-%version.tar.zst Source99: baselibs.conf +# PATCH-FIX-UPSTREAM bc5de3ac7264f7a232951d06150ec1fcd4a20f6c.patch -- libfaad/fixed.h: Fix ISO C warning +Patch0: https://github.com/knik0/faad2/commit/bc5de3ac7264f7a232951d06150ec1fcd4a20f6c.patch +# PATCH-FIX-UPSTREAM 2653c918d788c5dc83826c97aaa4de4dd8931a8b.patch -- check for mp4config.frame.nsclices == 0 +Patch1: https://github.com/knik0/faad2/commit/2653c918d788c5dc83826c97aaa4de4dd8931a8b.patch BuildRequires: cmake >= 3.15 BuildRequires: pkgconfig ++++++ 2653c918d788c5dc83826c97aaa4de4dd8931a8b.patch ++++++ >From 2653c918d788c5dc83826c97aaa4de4dd8931a8b Mon Sep 17 00:00:00 2001 From: Fabian Greffrath <[email protected]> Date: Wed, 15 Oct 2025 09:58:15 +0200 Subject: [PATCH] check for mp4config.frame.nsclices == 0 Fixes #212 --- frontend/mp4read.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/mp4read.c b/frontend/mp4read.c index a157d7d6..b81034a3 100644 --- a/frontend/mp4read.c +++ b/frontend/mp4read.c @@ -347,6 +347,9 @@ static int stscin(int size) mp4config.frame.nsclices = u32in(); + if (!mp4config.frame.nsclices) + return ERR_FAIL; + tmp = sizeof(slice_info_t) * mp4config.frame.nsclices; if (tmp < mp4config.frame.nsclices) return ERR_FAIL; ++++++ bc5de3ac7264f7a232951d06150ec1fcd4a20f6c.patch ++++++ >From bc5de3ac7264f7a232951d06150ec1fcd4a20f6c Mon Sep 17 00:00:00 2001 From: Dario Binacchi <[email protected]> Date: Wed, 1 Oct 2025 20:08:07 +0200 Subject: [PATCH] libfaad/fixed.h: Fix ISO C warning (#211) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Building faad2 in Buildroot raises the following warning: In file included from buildroot/output/build/faad2-2.11.2/libfaad/common.h:255, from buildroot/output/build/faad2-2.11.2/libfaad/bits.c:31: buildroot/output/build/faad2-2.11.2/libfaad/fixed.h: In function ‘MUL_R’: buildroot/output/build/faad2-2.11.2/libfaad/fixed.h:163:1: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 163 | ({ \ | ^ buildroot/output/build/faad2-2.11.2/libfaad/fixed.h:179:12: note: in expansion of macro ‘arm_mul’ 179 | return arm_mul(A, B, REAL_BITS); Signed-off-by: Dario Binacchi <[email protected]> --- libfaad/fixed.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/libfaad/fixed.h b/libfaad/fixed.h index 117cfeac..396f1957 100644 --- a/libfaad/fixed.h +++ b/libfaad/fixed.h @@ -159,20 +159,21 @@ static INLINE void ComplexMult(real_t *y1, real_t *y2, #elif defined(__GNUC__) && defined (__arm__) /* taken from MAD */ -#define arm_mul(x, y, SCALEBITS) \ -({ \ - uint32_t __hi; \ - uint32_t __lo; \ - uint32_t __result; \ - asm("smull %0, %1, %3, %4\n\t" \ - "movs %0, %0, lsr %5\n\t" \ - "adc %2, %0, %1, lsl %6" \ - : "=&r" (__lo), "=&r" (__hi), "=r" (__result) \ - : "%r" (x), "r" (y), \ - "M" (SCALEBITS), "M" (32 - (SCALEBITS)) \ - : "cc"); \ - __result; \ -}) +static INLINE real_t arm_mul(real_t x, real_t y, unsigned int SCALEBITS) +{ + uint32_t __hi; + uint32_t __lo; + uint32_t __result; + + asm("smull %0, %1, %3, %4\n\t" + "movs %0, %0, lsr %5\n\t" + "adc %2, %0, %1, lsl %6" + : "=&r" (__lo), "=&r" (__hi), "=r" (__result) + : "%r" (x), "r" (y), + "M" (SCALEBITS), "M" (32 - (SCALEBITS)) + : "cc"); + return __result; \ +} static INLINE real_t MUL_R(real_t A, real_t B) {
