Message ID | GV1P250MB0737B923F3D6B89664C7F2E68F5B9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Superseded |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1570509pzh; Mon, 3 Oct 2022 15:32:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7YI6MlmbWLkHdwMicgDtcCJsZHxexb6Veol6eEVTnvk/AM/LU5Ce1jj/5s/I8FG9LCLc8x X-Received: by 2002:a05:6402:35c1:b0:451:e1aa:e66e with SMTP id z1-20020a05640235c100b00451e1aae66emr19799997edc.275.1664836340120; Mon, 03 Oct 2022 15:32:20 -0700 (PDT) Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id z15-20020a05640235cf00b00450bda7e40bsi9886735edc.29.2022.10.03.15.32.19; Mon, 03 Oct 2022 15:32:20 -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=tw6+q8ue; 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 C38B168BBF5; Tue, 4 Oct 2022 01:32:15 +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-db8eur05olkn2097.outbound.protection.outlook.com [40.92.89.97]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9354868BA2F for <ffmpeg-devel@ffmpeg.org>; Tue, 4 Oct 2022 01:32:09 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Paw9yxWAYzj7y+wuRRc2W1N0gjdjXm8Tb0I+6afm/08URNrhF+6jP3/uVdLa3sdAZ6yuns8m55xVuVCp3rkHvZ5VFAhFdAuNbXTPoSosdYbqloKoZZPcQjY7I5BodsLGUGsOVUSxx8aRxorGEh3xbFk6pgx9QihPk33TCbOZw/lIA8fAcZNcmDEu3ZyIdSE3lsaB9Vf7crRcTQq/cgQj/Ze0OuNuOvFbnQxOb97DM/UZdRovSAUj9avubcrezsMvJzfvgdqgf6LKa3KNYi6CQFKf7n61s7ofR4kfvV89QV9rsm09/NMfwHWc7KbNRHUmrG5FEHrInFiRspEgBm4SFw== 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=QG+WhZtgph1nkzbfiSS/DOHe1FLzFGP9ISNBfwAhY6k=; b=m1I3/0sCPv3FKYd9Gk7SR8FhrdycfAWf9zaziqYW1Y/uUhir+z2mini+3WAm3Uu2DyaxemwupGauhNFfM+8Tf0u7VXbFgzk5eiHs3oUE7BN0nuStQIWZxXSkTZp/5FoXCZtwMpDwgLStoZjygyfM7avcwoqbH52KDFl9b227eQx7LVqKt9nJgU7TOxN0bxu4YblUtc0bNQHA34v0Dp9ZjEpZE898B3NUNFBE9XhF+OOv5r2aZWjrDh0FjmuWZox+rCUzhK2CknkZm+9H/xvtJqe5f8Bc9nljbj5E53Tgng3XLcHSjEfXfQpS5tvE6V/lcxEHcI7QEi8uUzxQLMuoMA== 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=QG+WhZtgph1nkzbfiSS/DOHe1FLzFGP9ISNBfwAhY6k=; b=tw6+q8ueaoRmsav9upLUf0kY2hjcqqwYPmzFZKRVhxIS3rq+5h2cK94HUJx4Qj0AWo7rHJQh9LckW0nDe82L2VTSmuRMTkQ1Z1aspNFX+KcC52wdglX2ag2Y28yYOudnh5SVIptRdkopAN3NXSSkcNaW1fXISRr5JsnYS0lZEuNBOVaX2uFo06YIczKqeIuP5Sz0WNVG4B7V7sa4Y0fzegpuYbW3eyWaSGnqiJVxv+LwDOhAYqHHgCFdVxF8Beo6XfsEVB8Tx5sRs4CDQKdc0fAZpcUhpr+1hfB56Srf31mpc5Ou+EA/ba35a9z7C6Qjx3KY0fdh1kStq8IjokFWww== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by AS4P250MB0461.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:4b0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.28; Mon, 3 Oct 2022 22:32:07 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8%9]) with mapi id 15.20.5676.023; Mon, 3 Oct 2022 22:32:07 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Tue, 4 Oct 2022 00:32:00 +0200 Message-ID: <GV1P250MB0737B923F3D6B89664C7F2E68F5B9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 X-TMN: [swgo28ebCtDym2olSVKNQx+bqBa8GlxJThBN6SltiYM=] X-ClientProxiedBy: ZR2P278CA0024.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:46::13) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20221003223208.1706007-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|AS4P250MB0461:EE_ X-MS-Office365-Filtering-Correlation-Id: 6063b51a-ee33-46dc-8239-08daa58f1ad9 X-MS-Exchange-SLBlob-MailProps: V85gaVfRD4/g5cw7fGTKyBiHm0TAeLuI+lJ5E4AbnQ95bOj5d5RfHsUioBD3CO46gWHiap0o5hMlocpL8BgK1+s99HtRG9pwVWFbRn4HQVduR2ur3OIt3S6bN6Q5OdsKUTyX8gZEamm0UpebhH6EAn85hT/FLuFVfAS8sNZeI/F0axGXuEPM8DldqsXimiB30wtr4h+/EqDqTaTmtDmbDf13yMjmRTd2f1xDh1gHLe8t6oiRq3jGbIwMgA07wV9rQgqtbKTlmO3km6EgUIlxrD+crbfiipGpAFkiFwjf0Eu9zd8X4493oMI4phC2IH6Xp1mf7HqIU7VYfeTbB3oTrQ5Km/nCoBZvvAhXE0zysU4TwdOXh+92BaIm3nB12TuhvwQBpGt1ibDMLnJpRkFQ/35KujL4ab+QM+DD4qBvvxzWZdpnCzFYBEUOW12oftU2rnbIz62TQ7Qk15SVT5K5VxcsedKnZp4WY9CoiKws7yVkh7oCJy7cxBnrsf14WseQ8DAY+XD7q2VDVE/k5R53ARTobNXG3y1t9GJnydCvbyaipdH4SK9ONe519+3Z28ozScvvBBDhufkv3DMj5mcirMu3cDfkNbeLyV/NpUgFaN9MgnG5/0+Avx+wrBDWs+07JllFx8cFjOyrQmkCrmTQST12TiGKwUfiFV0t29nFe1bddPscnV5oZ4vjAb5VV1v547OcJOhthZfo6t0Tn83SH+tQqDk3oQ0ptod1bKExAXzUgA415MA3Fmhm9/HYUrQGMoMn3brHq+753mjVo0BhjcprwRJPoKogf6zZVnyX4tOmhIaSZy52L0LJc+kSMuSfEEvK9v3c4MtnJUbYtcbZcQ== X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S9wD2REy5ZXLpZTY8A9YhekGxdOoU3WvZvHoz3tTq5rG32CL4BFEeLw18PPrnIGKO0e9Wga5xAgaDo1r7chqzLbXBtG8lAVQNSDpiZRSomwh365FuyesxiM3+v4lenhvkDpHO2RHRhD3AqO6fJhgv3kNuSMkxg20bJHEZSZMb/er/Ug2wRieidm/LWo5sW/rvgqIvAggq2xeke5w97/OTGhuUCeCRPZq69s68f65Gh3iELfJ8gaVjCIdNwJIs9n1nOxpyor6jjZqp1MEx/JRLGxmyR72tMQrbuBu0aKrRsMev3GLdYl0d1hsTXE/QCBlH6jR9x9KTAsYs4YoQxTNZbSYIsR3GJeHoTqnhjvUI4orIHeXnsiN8wxCAlLAe3nMXZzUWhV5nvGZ5Vr+yNQw2dzmXcI1f+qlDUdQxAb00Tr8yR9HwX2cd4U+12IwUEpKGcAeybTotJUbg28kaYbWRGU9PJWJs9YMbwHXSfeSS9Nb7mkENC8/dYzv9LQJbu3z9GTiaj7mjv7/HCvdk0TbDwzrBYP6eD4hV2lUFb6w/J04bOKPjlzakH4vybH7pNIP7GyuPciXBMgAaY6ik4wCoK4TMlaZDXjn7osBpJhSqm1hnRKzL8J9ffEwDgP55f6cRBUgRTpMFOiBns/Am3Ue97KwSueGZbGxVerxkMgxt0H/LcKJl0xqY2IIM9jwI/5P X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YzP8/k7lFiJZsA6nD8VVgFCPARd2yEUr5Nb6knCJ3gv8ezF/7SWmnMF1MH37XFnelg7i66LbvZyi9+WhFI5WZfo3BLiTxmVnvfrAiEQof3U7snhOIg1TQRlgEnYX8S5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1unHHirhzdsKDHb0+2e+Fm3t9uOK0laA8ijvtPaJeLxs7nBbkEfHJQp1kpx2RXk7clZomg+auWNuBrJZlz6ZCQ6L6U6LhShPaWQc341YE= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6063b51a-ee33-46dc-8239-08daa58f1ad9 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2022 22:32:07.8370 (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: AS4P250MB0461 Subject: [FFmpeg-devel] [PATCH 1/9] avutil/attributes_internal: Add visibility pragma 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: Andreas Rheinhardt <andreas.rheinhardt@outlook.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> X-TUID: iPhVi3hu2VeN |
Series |
[FFmpeg-devel,1/9] avutil/attributes_internal: Add visibility pragma
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavutil/attributes_internal.h b/libavutil/attributes_internal.h index 9d3d10b63e..c81e9b8204 100644 --- a/libavutil/attributes_internal.h +++ b/libavutil/attributes_internal.h @@ -23,8 +23,12 @@ #if (AV_GCC_VERSION_AT_LEAST(4,0) || defined(__clang__)) && (defined(__ELF__) || defined(__MACH__)) # define attribute_visibility_hidden __attribute__((visibility("hidden"))) +# define FF_VISIBILITY_PUSH_HIDDEN _Pragma("GCC visibility push(hidden)") +# define FF_VISIBILITY_POP_HIDDEN _Pragma("GCC visibility pop") #else # define attribute_visibility_hidden +# define FF_VISIBILITY_START_HIDDEN +# define FF_VISIBILITY_END_HIDDEN #endif #endif /* AVUTIL_ATTRIBUTES_INTERNAL_H */
GCC 4.0 not only added a visibility attribute, but also a pragma to set it for a whole region of code.* This commit exposes this via macros. *: See https://gcc.gnu.org/gcc-4.0/changes.html Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavutil/attributes_internal.h | 4 ++++ 1 file changed, 4 insertions(+)