From patchwork Mon Sep 6 12:41:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 30037 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2a4a:0:0:0:0 with SMTP id k10csp3721110iov; Mon, 6 Sep 2021 05:42:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwG9DjoDPQ30W8+qdLzWrCMcv4BOPKbY7sRnZaeXTc5Ey0QQrLNIhJaFL1kliCB12/hUkyz X-Received: by 2002:a05:6402:366:: with SMTP id s6mr13012662edw.329.1630932148927; Mon, 06 Sep 2021 05:42:28 -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 bd15si7668707edb.130.2021.09.06.05.42.27; Mon, 06 Sep 2021 05:42:28 -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=NG40kS8s; 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 6AA2D68A3AD; Mon, 6 Sep 2021 15:42:23 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-oln040092074048.outbound.protection.outlook.com [40.92.74.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1D3906898FB for ; Mon, 6 Sep 2021 15:42:16 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AwBYfd/lU7Qv7QtTiWD8i7v6BvRB904AWcWpksiRSggV996fGuIWUC4TCJrgquyH9jpxNMGpTYKKdmDjNcWZsxxMqOVJPRmh/ftmCeiB/01+YWZix5Fbnq2hpYDEV8U+pT2VFOYhQY/hIb/m1PX8RUpPF1vREXrGWZyJfWGlR6C2WSf68ERky1EUti0oBfGuBOXZhOTEHLlHbg9K+IgP2mrU4SoaQxW+gwqRhdbbxNuTbK1fduN+sy8X1SY/f2Ydoc8uGGDc/fIwO6/0DRPIdU/n0D3KOmTGEewn6MU6nUMUsXycJUjWvbn8+YN4g1uS9u25UJ0lzmM6Xs6BwFTGtQ== 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; bh=aXThdD6xqUrKzodaBfaZY0t4vCH88U+Tei14B9qI5TE=; b=bPIzNw2qfEXSuwmgCYYGpAiHfucaiNyOW0WYAQeqN498vHMRO3RX/rtG1ZaqmtwUw69dh276Rsj6CBb9N/lGF1w2jlizwBtVxFHUX0fwmwODFOMELEaamR7NAKDeY2yH716foKoXoEvafAXB6ujYZcndsJjicbuOl4CP4oYdsm4FVegd5k9t9yVyMXguF6WBQoarHRwU7T4VFNSpcTCLtDcyZrILT/hLWgd4gkHqBqIXnTL6L8WSo9FLKi2yPZ8PAuqCckfsxJeD/qU5qnxgde0BPZi/5oUGzYumScq5b0wxyE5jInqgWyN/kMfH+OJ90ZDxBJU9b/PDmW64V3Q6tw== 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=aXThdD6xqUrKzodaBfaZY0t4vCH88U+Tei14B9qI5TE=; b=NG40kS8sk26EaP5Ug+zaQ/7ruLYjTGzYkk9lB3IUV5tMdBCw3XIUF3qQkd7kMzO7SWpJ+rtfa6Lj2l15bIiEDkOcEPI6Owljucdg+VmLfZLyyiwdVVGMEuO8WsIrkwwL8ceKrn8069s+4/TdIvnmh0Mt2v4A02OK315vAKg+BMIZkHqJe3LfZBpHJX6TuUM7uxoa9RBzRk9BcqGyunZiOd6aQYG7/k0yp+tJ1ibaVMQNQk/UIrfAJH1xnDXSnpiEhq1LteLSkm+IOSGw6FVGtpGkpOViR76tkMD06WgGIBmte8rkz+mIPkoXC4fjqiLjy82XiJi+5luehNATi+ZnXg== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by AS8PR03MB7383.eurprd03.prod.outlook.com (2603:10a6:20b:2ef::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Mon, 6 Sep 2021 12:42:15 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::787b:2156:ca99:fe00]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::787b:2156:ca99:fe00%3]) with mapi id 15.20.4478.025; Mon, 6 Sep 2021 12:42:15 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Mon, 6 Sep 2021 14:41:57 +0200 Message-ID: X-Mailer: git-send-email 2.30.2 X-TMN: [JdE+oW4RXHJQ2ZiKUW6SSkn4RLZr/ejN] X-ClientProxiedBy: AM0PR04CA0074.eurprd04.prod.outlook.com (2603:10a6:208:be::15) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20210906124207.4161421-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sblaptop.fritz.box (188.192.142.38) by AM0PR04CA0074.eurprd04.prod.outlook.com (2603:10a6:208:be::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19 via Frontend Transport; Mon, 6 Sep 2021 12:42:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ea9c287-8c8f-4b46-677a-08d97133c10b X-MS-Exchange-SLBlob-MailProps: DD4MX5oUjaLfq2xoKfc0r52VLFk0kxlBQpGYjzHARZnuvlmYh2SW8/6LlUlTK3t5cApNbYQS5i+NgOr9dIV6DSswye5oGxMUTCEigxN1u2MLs9hbhI4eFpHxjuqJ3jl4BAcHuLZ2nD8lPMum2Lnkd7g+346+kM+gHZgRZDtkHIdf+AYVyOlF/axdeBkFxaK1pZ39pzSO+ZxNlOyCb14Psf0NA5YK8JpC6XfNJVhWRxEINIDBejv+wVLR0MZBnkWqECPwpHScC8dLIrBZ7bk4L49DwPr5MErZok7u5QofRWxk2RDL74zlhRcyKwZ0WIIxVpHIl2fgoJ/KTjdWxR6SYbNAWosjHPgdhRPZX8QwFU2/uuSOsFutE9rXd1gY3LIKr4KD+zWznFMiYdeGuYGMSBeEh1nMd/9hXdtcIspTu9l7GiI1acPFNxuexRQeWlh/zOn+mlVvgwBydRIqcaCwYZrCRN5BiMVIBt4m1tEfGvo2Paii8ib+KQrr/hIuDv2tVpgabUu609951v2FNxbVSBax4G3vVrKUAko+ngMxb41MfZNkIqfeT0iKeJtWZQjP/PZED/G1FEwVJxhEUZJV8sLHLfxGsKYQaNxiUKJuuQAUhiHcf8X1xz1Lpqvu7RVf3AhNIVt9/nk9ErWbwmZbvmAjCljQmgwDb0J8w4ahHXldxDm61Lx0nw== X-MS-TrafficTypeDiagnostic: AS8PR03MB7383: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OzNJOMOxYreJXLj9wWbGEd8ofne6DRJNxzIDvNKXp+f0t78Vj27y2ufKvV2M4Nd6QC2Nrh0/U6QZEBZ+folg5IH9X8VInEqFgF5WT6lc8wO4fePjCTYgEHy0ybn2zE4mk/ZVKvrsHXsHU/QySqlMswChLIvMteBFZoxzge4j4BMuL1lJeukjYM/SuXgi0+eeR+8scZ1EVyatV9d+IMNTtnbHxDoxS7ZSDA8xWWfNtAVEqF1ppP2jPscSGA3Qiv5OxF/vA2lnD/U4b3DEIVDYFKNH7FQ2W68u6ES3DU2SDnKjoZuK0h0BlVnR7mjuqKQGkjU1Q9dYiAWl/tOdKUJPuQN2vpnScQl/1yb5o+w+Gi9zijy2KvmQ21uvJjEgl3d3R4lFYytnMYXNRbwHyoe5Wzn9/lakXRNxijgdvjDUCnlys3yHxGpZx2yTBgaS5p/Y X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sXseAZJ7uInWr3/wusVgUkUeUaUDPpSkk5dMrbeYCldQJj93KYbzjGieOEit8M6A1VSKYeumXBedcw2hNiN8qGw2UYtQ7g0WFbc9tHH/rJIjHMyT/wPQiyji+TFxfwVndUOHxn+WqjcEdNEK7F6YJw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ea9c287-8c8f-4b46-677a-08d97133c10b X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2021 12:42:15.2038 (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: AS8PR03MB7383 Subject: [FFmpeg-devel] [PATCH 01/11] avcodec/bsf: ff_list_bsf static 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: yyLMPFCpsb7Z It is a special BSF that is only available via the av_bsf_list-API; it is not part of the list generated from the declarations in bitstream_filters.c and therefore needn't have external linkage. Signed-off-by: Andreas Rheinhardt --- libavcodec/bsf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index 57034ce646..d9c8395260 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c @@ -394,7 +394,7 @@ static const AVClass bsf_list_class = { .version = LIBAVUTIL_VERSION_INT, }; -const AVBitStreamFilter ff_list_bsf = { +static const AVBitStreamFilter list_bsf = { .name = "bsf_list", .priv_data_size = sizeof(BSFListContext), .priv_class = &bsf_list_class, @@ -490,7 +490,7 @@ int av_bsf_list_finalize(AVBSFList **lst, AVBSFContext **bsf) goto end; } - ret = av_bsf_alloc(&ff_list_bsf, bsf); + ret = av_bsf_alloc(&list_bsf, bsf); if (ret < 0) return ret; @@ -544,5 +544,5 @@ end: int av_bsf_get_null_filter(AVBSFContext **bsf) { - return av_bsf_alloc(&ff_list_bsf, bsf); + return av_bsf_alloc(&list_bsf, bsf); }