From patchwork Fri May 3 14:02:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 48473 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:e687:b0:1af:836d:81b3 with SMTP id mz7csp616424pzb; Fri, 3 May 2024 07:02:55 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXnxUvaQKIzuf0BMSGbJ2S46QAQlSjhdqIIWhh5FfJlu0LgaOyIWqoIRrm53PKiFkH9ea3ErYoGLCDnZAiMdxiAJQ9q5BKvbfO1Yg== X-Google-Smtp-Source: AGHT+IFF99f81e7zRbULmvLOroAu1oL8MmH9G1WUO47rgxomMM8Omj/bE8WIkhlUo6cIqWDn6Ipi X-Received: by 2002:a17:906:eb16:b0:a59:5191:f0c0 with SMTP id mb22-20020a170906eb1600b00a595191f0c0mr1827011ejb.2.1714744975053; Fri, 03 May 2024 07:02:55 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id v24-20020a170906565800b00a599e3d2633si149755ejr.554.2024.05.03.07.02.46; Fri, 03 May 2024 07:02:55 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@outlook.com header.s=selector1 header.b="sEirq/0N"; arc=fail (body hash mismatch); spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C88F868D8F5; Fri, 3 May 2024 17:02:42 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2040.outbound.protection.outlook.com [40.92.89.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CE6B768D891 for ; Fri, 3 May 2024 17:02:35 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LVy/p8UkkgncRX4nWibw0Mv7mMBFx1oUVOEXJd0kWvlW0W2XG9c1nrG9hkIzrHU3M2kdGfLUPbqsu4JjNmrvmB1SlwGFVp5SwGHiWhUv2MY5wcVe2NbLmTWLHQyT73CFmkAM7Icm+8tzsE0pI2MLkNxUm3IoMnrCLK2fSDm0K0dex8hMWpTHeiC65k2GlZfXBkA/HL64jQiqJZssrjnEsetWlgP8XDbvhaAxQ7FrVipiBM4zl1XpK/piQkmXwd2QwP6up4rkVimU3nPp/JY2Nq+SQAPJY7hDFdfCNqd+anOsG/EZLVYfuS2jg75JWupScGvG7y008qrJsKAO0S/hlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wFAqkYEHOwdzLaFQhPT7xqQc2TLQaStd9ASHCbViLYE=; b=hQJhzlLyxaTJ+8zpNK82gHWWmxW0RWPNkB8NFiiSxfWVAVJMTGcwW1d1uRdGQuBXiaw+W3VLHJ4BKEZCd+VZeUK4/CcntOXvZmduo8olhx44nzxMckm0y9TnT/YGPn8HWq/yi44PseJY2U/dUeio4RNxGkgWHolsYDizcOaIMwPKJTqnCjY+w8ENIARiZPq1U5Il+hjEADrgrYL4+AL3TXwvCoumThqbZ1k94vjjO+tm0xeXoJdHYMFQ709ZfnT1Qj4EkTsF18btIRXeHeXJ3povFAfLhyCMlr0eigwYB4he2nt/E7ZYpjz7yQ/9nL8xB8jPQko1Ju/L8Mu1grkMMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wFAqkYEHOwdzLaFQhPT7xqQc2TLQaStd9ASHCbViLYE=; b=sEirq/0NpxbsNdICdBsjxRWYiMdOKZzDIMi26ImEPEO89/+6Qp7TCgPTmu5Mxbsu2ymJkAaPD5IdHJTkC3gkKJXhgWSaVnzuFjgam2Hx9MBtltn4msxo/7mCoWgKQ1R2caqg36iXX8K8e4xZX1Zb+jIhfxsrV5/FwX14yjUNsgxWEiD7s4yz+Rlu9KfrubyEM7p5QZo3Um37CqkpcF8g9Nlzp6zUFX2GogGSqKsu1nMVnPnY1A0DEfkxZ+Y9SJggtO0v9/EFawJaLuQt7ieSrn96rlKndqIH1+yTeT+VGZqPxvEVTYD52Q7EbzZFlbfv20imraCPXgbyGu9CKPKnqg== Received: from GV1SPRMB0037.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8b::10) by AS1P250MB0456.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:4a6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.36; Fri, 3 May 2024 14:02:33 +0000 Received: from GV1SPRMB0037.EURP250.PROD.OUTLOOK.COM ([fe80::f746:bb90:3e8c:6a7b]) by GV1SPRMB0037.EURP250.PROD.OUTLOOK.COM ([fe80::f746:bb90:3e8c:6a7b%4]) with mapi id 15.20.7519.035; Fri, 3 May 2024 14:02:33 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 3 May 2024 16:02:18 +0200 Message-ID: X-Mailer: git-send-email 2.40.1 X-TMN: [FPh59XHSFRvJxfz3IIPW13T83GSCKDmoFdgpPKhMa3I=] X-ClientProxiedBy: FR5P281CA0054.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:f0::7) To GV1SPRMB0037.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8b::10) X-Microsoft-Original-Message-ID: <20240503140218.753717-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1SPRMB0037:EE_|AS1P250MB0456:EE_ X-MS-Office365-Filtering-Correlation-Id: 2a11bf42-47d0-4b3f-01b5-08dc6b79ad81 X-Microsoft-Antispam: BCL:0; ARA:14566002|461199019|3412199016|440099019|1710799017; X-Microsoft-Antispam-Message-Info: lhO1HghjhBjvcaKcbyWJrmOre/+T0Vv1Ku0cuU0yBUD6Da1mNnnJX6v/wOKW7RwwwTVS6Vggu43NL2We73ArPcVAJ43XyT75oRQWH//EaX9kT3yBziQKuEO+XZSR0OIm4AMWiI8btKOSYWmF7d82Cs1zk5+/r34uxhm3ziUimGYxt3ydJAqp0Cj/rLQa10CDKPM3HfdbkjmUphlhTbGfou4lBSy9rwIHxBjI0CV13mgq4OUQhWd+6vbU6QekocJh3N0V3JBUhZsw0wLoTjb8X+L6/IpLRgW+zKcYKBO2j+RqKx03uOjk3YqNyOyYJ9Vj3E2ilMm1J2+xo566pPfA/60K6Z1SQEcDFaC000h36kiroPdRmqYKR4QO6Ecx8XSdQG4Q+I4dWsxWX2Xq9zIlNNqex9ZuJIPcb+/hIRBgdGwLfAjePbpriT+yZRqC5PuxcM389vmRtsXB5s3mg5Y7dBTkHZot6uA0LxqlfMF08B7ilgbiesejak6HbghKDipSv+tN6aQRYJtvIGu0Hae7qMFvyYBIiELlFRBbFZ+Z4cFIp58oddfHWxOJ+g1B87JFvb8dyQM9DO4+WZeI7y7OzmLRChb3WMbNI800CsY2xi6yr+43WsQkBNRtWA8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M/oDHxfv/Z2ifPevpCk0xfLk3S2VsNWjOclndbEh2aXWmW8YUyvKL3YCbeYoxb11W1Yz1QItCJwZ46OPxgBP46iuG5LaUDURYCOVTNr4yUOU67havvZgH1AJ0ixEg3JilPwiZDjWwS30eQRdwBDlSgHRDz3R3srOsXtWb0GakWPgVB9MSc0j9qAQfkBiBcNjzq/USRviBHKcyAkdvItqJmkXaVEtE4qb9dSApTksyen8gC1lkq8CYW4w4dUOHFZd/astoOi2M7nU187qexad1sx1KdQj1t0Q7LryCg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a11bf42-47d0-4b3f-01b5-08dc6b79ad81 X-MS-Exchange-CrossTenant-AuthSource: GV1SPRMB0037.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2024 14:02:32.8238 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1P250MB0456 Subject: [FFmpeg-devel] [PATCH] avcodec/allcodecs: Remove LIBX264_CONST X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 9KJVnQw16/N9 Possible since 71669f2ad54d92a40dc2748cd5bd6ca4c8651231. Signed-off-by: Andreas Rheinhardt --- libavcodec/allcodecs.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index f4705651fb..b102a8069e 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -28,7 +28,6 @@ #include #include "config.h" -#include "config_components.h" #include "libavutil/thread.h" #include "codec.h" #include "codec_id.h" @@ -805,15 +804,7 @@ extern const FFCodec ff_libvpx_vp9_decoder; extern const FFCodec ff_libwebp_anim_encoder; extern const FFCodec ff_libwebp_encoder; extern const FFCodec ff_libx262_encoder; -#if CONFIG_LIBX264_ENCODER -#include -#if X264_BUILD < 153 -#define LIBX264_CONST -#else -#define LIBX264_CONST const -#endif -extern LIBX264_CONST FFCodec ff_libx264_encoder; -#endif +extern const FFCodec ff_libx264_encoder; extern const FFCodec ff_libx264rgb_encoder; extern FFCodec ff_libx265_encoder; extern const FFCodec ff_libxeve_encoder;