From patchwork Mon Mar 25 01:51:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 47408 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:c889:b0:1a3:b6bb:3029 with SMTP id hb9csp930072pzb; Sun, 24 Mar 2024 18:51:47 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWKtzb36ebxo61NbzP04ZJCAe5MunRZygqQI90U47V32VSL8XitDE1vpl/NLOlHWT7Pvj/rjx/0BCopaETqcQt8lRSVinAEehN1Nw== X-Google-Smtp-Source: AGHT+IE9R5HU0PSK0ujiYMRFLRYplhHDy2mEEhSVF165LDK9Xzzi7Fl5gMHbZRzDXHPChrLhbhSz X-Received: by 2002:a17:906:3b47:b0:a46:5a46:7512 with SMTP id h7-20020a1709063b4700b00a465a467512mr3818351ejf.74.1711331507432; Sun, 24 Mar 2024 18:51:47 -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 by8-20020a170906a2c800b00a469be3a99bsi2049354ejb.178.2024.03.24.18.51.46; Sun, 24 Mar 2024 18:51:47 -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=iPmzocPo; 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 15EAA68D33F; Mon, 25 Mar 2024 03:51:43 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04olkn2091.outbound.protection.outlook.com [40.92.75.91]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9208C68D35C for ; Mon, 25 Mar 2024 03:51:36 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UPZWAh178fU/2bVKWSfjwrPFVixGBFKT9//LSRQV2AaI/FHaCpKLUSSnmX9P7kDWpJfglPfPcggEcm+9SeeNgxGU34KYLAtBBqbJv/mmdNLR6WkHyptGfXZmkPTZHet/9rmmE4LpyrO9QNIznecjeZNbzfutCdd2H16BvgtVJw3MJDwS3+VGGlKV8ZdpWigE1L/adfQXbP53ElD1ESO39oHB+Y/++qL5MDbxkmx8XuppvDs1UdZR+ESmQfYH32VTAK/KWjv8XT5n+vnIWNX0I7hhwCKWviBhaFn5t+v5TxR44gRe/agRILHpQ48FCJic/dd0d6xXsSbEdaJGrcM7XQ== 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=aMSuXVpDmzgkmP7x5MW8HGO74d+5HyYgbanKgNJjAr8=; b=ZtdoIIrBvYmBvk1AJdBzIr8W1TehDRlewy/IIXP7g3yTPvpizYRvI4FqKIM/btqjhKVRi47RLXiTsn1DoczZiAyZDohoeLV2G/o6ZSgRcaCeRV38OCfmguQHncw8UkOGJep2NHZPdlssDQDJxJcbHXL/DCJLzvN0O++kYgtdBQOqA23hEH5g0WzGiWA5UPs0IDTRVsx++AvSl0nH3bsYNCvz8fz05qqARyNBdVJX6GmSzheFDC8Wi5DBqJ21D28owtSSKG23UAq4NebmwWVbMPTRhCasD5WUzGPS2uZQnALy8strFtAwvi2H6FlFPqR8uqtBZJcx+0RrDdQt6FVM7Q== 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=aMSuXVpDmzgkmP7x5MW8HGO74d+5HyYgbanKgNJjAr8=; b=iPmzocPojXCBogXrudI33HDDw89cjGnsPJ+TkOK9hOug+BemTuGgQE3UZ/gWqf8JNv/fML9+pFtYf5o6p4PEzEz2tDjFesAny1MAfmbDCjfBr0UMuQ6JbkTWPxDGjb2CtQu51ESWI2StpkSAPLGd9sxtieWhvIA7mN2PVHzL3DTU+NRzsaXK5GQ8idrPfYwxs3FIZ9iIoI9GTtdHdh8Xz7nPbw5FYl0G3IfdxI/UpHvwt6Kb+NmP0DLrj3tHm0fgZiW788Gum9fLsGd4nUZ/VkkdFGVpvwQWSv0ro3IktZCSrkI+MTPDSk966YksuiugzLf5lrRdi1cm+M2SHvS3Hw== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by AS8P250MB0118.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:371::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Mon, 25 Mar 2024 01:51:33 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::4a3b:cf76:cddc:c68d]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::4a3b:cf76:cddc:c68d%4]) with mapi id 15.20.7409.028; Mon, 25 Mar 2024 01:51:33 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Mon, 25 Mar 2024 02:51:16 +0100 Message-ID: X-Mailer: git-send-email 2.40.1 X-TMN: [82q8hjKNx2477D0Rj6YYRJR/6NuDCbL+gdFbxzAYd10=] X-ClientProxiedBy: ZR2P278CA0088.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:65::19) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20240325015125.2348679-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|AS8P250MB0118:EE_ X-MS-Office365-Filtering-Correlation-Id: a94213bd-e7b5-4e9a-884f-08dc4c6e18f1 X-MS-Exchange-SLBlob-MailProps: 9IecXKUgicBMjzDtAlr46x5HKEJiZ0Rbs1UUuVUt58VDSrEBeMZjFrPNoTqu6jzRcbX3tP8x4wnmBYIVb/NtY6rjYoPDN5yJsa4K0GMCJnb+ojIfPZ+Tv9RajyuIwyOjix5L9V3v4XLaGDj1AmRbeRDuoyO+6F9K0l4pNDX338Vr12pZHdja5+rAh5x9+gvCfNJ2nOVRoXYUyZYjUhQdV8K0aEXUkky3Pz4dsNYRHyr3NbcHmo7IukXigK3BjdulZ9ket46tmhV8GMd4CIw6awZu5fqBhE2oeQ4Z3LsOsnJlJ9HEtAPCUBySHGRsMIz8Z/ydlYRS/u6fqSUq5CgNTDodV8Rf1PdP0QPuyXSYoxpf4+p2+tYCWfCisx0l/EoMzFVOpnlYCU56niqkZ141D/JfeGmsN0tjBW7m5Zd6fUkfuZL3W9udxbZIG9ur9a2TOC/Sua1nX0E5PXrL9PChGCp0y9IrvXEGphKLwcCxUtHKQ9uDF2fY3QY2TltRwyT0Ww3jkwc85WXAd4XpOjNAnFIJCmmFOPi27E6CH65dzr79V9rCDQfjefvAsY8vAvKhSA6gHlNXMxikcXSTim8NZMJSNt21rMjImeOA9ISgD8uK2beFoaNs2mng8JVkpMdL/yqOpKkK4g7hScYctkgy3C0tHCvlbMSVJCYZu4I9Il5kIJANqBPzDXVm5CjyjCoBSR6VeXHPrVd/6GiPLNIa1VqFAa7liJqDD5Ml61bVHXTrHJ/7Y1rmVg== X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aT9Bbxsc0PefebxgZPJDbNEJz1u3S4gQ7S7Jbv0oSk//ghXB/LNjFPASnqishJZD2Nt1znVJfEBKgbMUPcwTRv8PtNWcob5n1M5Z43GcdFyQaMWoyhifGt2uHXFhDSzahjwCtSzCE4EHTfz9Crs4HDA+JeMZJ9p5QYF+/2e/mcH6L3qH9vtJw2Ally3HI9Fj/Zl3wmBHeDXdM8gKwaBE68UdUILi45jb0U4rRePX/KPRhVPweozUsgmyJU9IxlYRDW9fy9ztCuegF2ursguuQy+GKjn6uxXzILqz/MGmcDqYFbCUJAJTxHJPsqvAw2WQomEynEPEBrM5iN4URJFv0Jygyky4igpNkSuGOxhmkqiSd/qQLTV/y4EbtQYTz6RMgB/j+P7/MMFplouqeftIPvTBQ3kPFxcN8TLgyh+XRgO0v5uy4cJIl9HLVbK1tcJvdG5kmvnjgBYOs5e0FXwYwB1WIRskuBacH0ZYbURF4pfucv55qoet2wEwkWNhx+PbfqsiXG84lwr/tZIU53uHDJ6gCEdFoEIq6udhXbzExzRVIRDeZVX9eM3DkqsTUAGZAbsgJ8PITZ1KJOBtH8aoi3F3rpGuQWPsVpSq0NFJNiULC4OwshaDXZWl0ygNjkT/ X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OGYkn7Ie2192jsXjsNefm+MO0BMImcqezrTiKi1RPYRf3DXpzhmAjFhjOmNUSK/m9QZwoo6mOyc5QdAlF6pPYu+RztDFFy6b6EhYY7KsY9TXfZx99zuSezaGYmisqcpneJB105bLrnyqYz+RCZMLYbHsNeEwEKQULEwZISYL4VCpAR8ZtQ1M4n3YGpRqpXIjGv05PWe/nTL8P2UOr/vsJxUT1dGVRzKnWyhap9W5XDIOXBA0aemwVgNrhVa7xvmzV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: a94213bd-e7b5-4e9a-884f-08dc4c6e18f1 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2024 01:51:33.0576 (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: AS8P250MB0118 Subject: [FFmpeg-devel] [PATCH 01/10] doc/examples: Always use <> includes 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: OvzY+Uvtfg9b Signed-off-by: Andreas Rheinhardt --- doc/examples/filter_audio.c | 18 +++++++++--------- doc/examples/qsv_decode.c | 16 ++++++++-------- doc/examples/transcode_aac.c | 20 ++++++++++---------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/doc/examples/filter_audio.c b/doc/examples/filter_audio.c index 9e4039b900..8b237e2adf 100644 --- a/doc/examples/filter_audio.c +++ b/doc/examples/filter_audio.c @@ -41,15 +41,15 @@ #include #include -#include "libavutil/channel_layout.h" -#include "libavutil/md5.h" -#include "libavutil/mem.h" -#include "libavutil/opt.h" -#include "libavutil/samplefmt.h" - -#include "libavfilter/avfilter.h" -#include "libavfilter/buffersink.h" -#include "libavfilter/buffersrc.h" +#include +#include +#include +#include +#include + +#include +#include +#include #define INPUT_SAMPLERATE 48000 #define INPUT_FORMAT AV_SAMPLE_FMT_FLTP diff --git a/doc/examples/qsv_decode.c b/doc/examples/qsv_decode.c index 901eac3b27..5a6f3625aa 100644 --- a/doc/examples/qsv_decode.c +++ b/doc/examples/qsv_decode.c @@ -30,16 +30,16 @@ #include -#include "libavformat/avformat.h" -#include "libavformat/avio.h" +#include +#include -#include "libavcodec/avcodec.h" +#include -#include "libavutil/buffer.h" -#include "libavutil/error.h" -#include "libavutil/hwcontext.h" -#include "libavutil/hwcontext_qsv.h" -#include "libavutil/mem.h" +#include +#include +#include +#include +#include static int get_format(AVCodecContext *avctx, const enum AVPixelFormat *pix_fmts) { diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c index cf6edc9890..84caf612ac 100644 --- a/doc/examples/transcode_aac.c +++ b/doc/examples/transcode_aac.c @@ -29,19 +29,19 @@ #include -#include "libavformat/avformat.h" -#include "libavformat/avio.h" +#include +#include -#include "libavcodec/avcodec.h" +#include -#include "libavutil/audio_fifo.h" -#include "libavutil/avassert.h" -#include "libavutil/avstring.h" -#include "libavutil/channel_layout.h" -#include "libavutil/frame.h" -#include "libavutil/opt.h" +#include +#include +#include +#include +#include +#include -#include "libswresample/swresample.h" +#include /* The output bit rate in bit/s */ #define OUTPUT_BIT_RATE 96000