Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2BC0CCA471 for ; Fri, 3 Oct 2025 13:58:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 7BECC40F6E; Fri, 3 Oct 2025 13:58:36 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 3DPX0YBcpcov; Fri, 3 Oct 2025 13:58:34 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 4647D40F5F Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 4647D40F5F; Fri, 3 Oct 2025 13:58:34 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists1.osuosl.org (Postfix) with ESMTP id E5F7791C for ; Fri, 3 Oct 2025 13:58:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id CB8DA8221B for ; Fri, 3 Oct 2025 13:58:32 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id xj7igfTCEcuq for ; Fri, 3 Oct 2025 13:58:32 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57; helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org B5BF682218 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org B5BF682218 Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp1.osuosl.org (Postfix) with ESMTPS id B5BF682218 for ; Fri, 3 Oct 2025 13:58:31 +0000 (UTC) Received: from fli4l.lan.fli4l (p4fd6cc8f.dip0.t-ipconnect.de [79.214.204.143]) by dd20012.kasserver.com (Postfix) with ESMTPSA id CC8D4A4C5D13 for ; Fri, 3 Oct 2025 15:58:29 +0200 (CEST) Received: from [192.168.1.144] (port=45728 helo=bruckner.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.98.2) (envelope-from ) id 1v4gIn-000000005sz-1fUM for buildroot@buildroot.org; Fri, 03 Oct 2025 13:58:29 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Date: Fri, 3 Oct 2025 15:58:29 +0200 Message-ID: <20251003135829.371886-1-bernd@kuhls.net> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Spamd-Bar: ++ X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202506031021; t=1759499909; bh=6JbYDpisrctD8RXm0MnjEPB89CHYFnPLobNqbifeqLg=; h=From:To:Subject:Date:From; b=hTza3EC38ExX+WAFdSB6p7ssM4PgfZpMt3ObuQgi2Vj4+DL4LTwJuFTxq88rNx9Ce 9sPQ1WL0YOKcFjbZnTWn+ULhMU3xe7qDZQStUfTYQu8qCkgXS3aeFUP3V4aOx9AO0P byfkOhc4XxOOkUBIfmLtuI+YBulqFvL40xzudnwqPAPZV2nXnCeo0cbg2Z+beAgKnF 4j7FuJJDWVpctEtknLBz0+Kp4H5ayAPMMzSm9Q5zCuGg0LlIq/21gnIIdIltH426VA o7HFJNysyMPn/+zw2tKeK8ycK1OppYB3tXMRe57b7Ni7Dt4nBWhdHQCWGJV4AjgrQJ os8b193jQr2Qg== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202506031021 header.b=hTza3EC3 Subject: [Buildroot] [PATCH 1/1] package/freeswitch: fix build with ffmpeg 8.0 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Bernd Kuhls --- package/freeswitch/0004-ffmpeg8.patch | 52 +++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 package/freeswitch/0004-ffmpeg8.patch diff --git a/package/freeswitch/0004-ffmpeg8.patch b/package/freeswitch/0004-ffmpeg8.patch new file mode 100644 index 0000000000..486231e79c --- /dev/null +++ b/package/freeswitch/0004-ffmpeg8.patch @@ -0,0 +1,52 @@ +From 0ce211af3a3ad0b1060b542d0a92a07dab5d2d59 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 23 Aug 2025 18:15:39 +0200 +Subject: [PATCH] [mod_av] Add support for FFmpeg 8.0 + +remove deprecated FF_API_FF_PROFILE_LEVEL: +https://github.com/FFmpeg/FFmpeg/commit/822432769868da325ba03774df1084aa78b9a5a0 + +Upstream: https://github.com/signalwire/freeswitch/pull/2896 + +Signed-off-by: Bernd Kuhls +--- + src/mod/applications/mod_av/avcodec.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/mod/applications/mod_av/avcodec.c b/src/mod/applications/mod_av/avcodec.c +index a9d449b562c..9962b821d53 100644 +--- a/src/mod/applications/mod_av/avcodec.c ++++ b/src/mod/applications/mod_av/avcodec.c +@@ -530,7 +530,7 @@ static void init_profile(avcodec_profile_t *aprofile, const char *name) + aprofile->decoder_thread_count = avcodec_globals.dec_threads; + + if (!strcasecmp(name, "H264")) { +- aprofile->ctx.profile = FF_PROFILE_H264_BASELINE; ++ aprofile->ctx.profile = AV_PROFILE_H264_BASELINE; + aprofile->ctx.level = 31; + #ifdef AV_CODEC_FLAG_PSNR + aprofile->ctx.flags |= AV_CODEC_FLAG_PSNR; +@@ -2071,7 +2071,7 @@ static void parse_profile(avcodec_profile_t *aprofile, switch_xml_t profile) + + ctx = &aprofile->ctx; + +- ctx->profile = FF_PROFILE_H264_BASELINE; ++ ctx->profile = AV_PROFILE_H264_BASELINE; + ctx->level = 31; + + for (param = switch_xml_child(profile, "param"); param; param = param->next) { +@@ -2094,11 +2094,11 @@ static void parse_profile(avcodec_profile_t *aprofile, switch_xml_t profile) + + if (ctx->profile == 0 && !strcasecmp(aprofile->name, "H264")) { + if (!strcasecmp(value, "baseline")) { +- ctx->profile = FF_PROFILE_H264_BASELINE; ++ ctx->profile = AV_PROFILE_H264_BASELINE; + } else if (!strcasecmp(value, "main")) { +- ctx->profile = FF_PROFILE_H264_MAIN; ++ ctx->profile = AV_PROFILE_H264_MAIN; + } else if (!strcasecmp(value, "high")) { +- ctx->profile = FF_PROFILE_H264_HIGH; ++ ctx->profile = AV_PROFILE_H264_HIGH; + } + } + } else if (!strcmp(name, "level")) { -- 2.47.3 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot