From patchwork Thu Sep 15 01:55:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 37922 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp26960pzh; Wed, 14 Sep 2022 18:56:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR6dkj6xT3JtCaXBgQ0V2lNjJRx6ltEYh/1TZlxouCNAQqXuQ1/5kwk3AlBgKIjt5Gg3TRxV X-Received: by 2002:a05:6402:184f:b0:44e:7c1d:9b10 with SMTP id v15-20020a056402184f00b0044e7c1d9b10mr22135061edy.97.1663206969410; Wed, 14 Sep 2022 18:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663206969; cv=none; d=google.com; s=arc-20160816; b=Nar4BdUyOBiH7rcCaulMjIwvOZDoxOShVpaqOLdS9O6NjewolWBWIhDJKkQvGERtP0 RtSemxMuCmJViNs811mBx2CKcp69r6juchXP6erDqS8mr5NykVloLp+4KkxYfJjYYhyh 6wMxlqiPR1yGREu/Odu27X0Iru1HhBbGGWeT1dm/shS8GnxY4Q91J8gfZqETYckunkLS 7I22FWIAWfQ7pzjbjed5GKuy+ESwuY5sDvIsOg3500q5Eaovnfqr8x/QilOF5iTOJYOs ioWIOza4F4jhBsa6IlAIG18DjGkw7Ur+JLUKDYl70+nlD4ifB8R8UdJGrHqnB7/LNGRh JQ3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=ta/6ZRbaJ6s+xLzOK/fcGuT9hGMvvUjszDhztgWhbpg=; b=GWE4xPLS7EWuHabuPlS7H62/6/2Z+Zi9FpAavriwrEYVjwqqjGuZBnluxoKG/uUPrT NGo9ZK95iG0nhBZ4aHutWI0S1n9us7RCJKvGsd0V1++iEU67UIRsqjP8RJy9qZdyMFcy 1lyZj1u/zpZp+sDNq4WR6XImPsA0vd1AYM/fK9rbGHlEvMUQCogG3nc4UbXUiL7d+2tT P8193AmrUofOmXTeXJb2BR0eq8cqFe/LCCCNONJ4GdCENSHy0wMqXbOPYM8UraOodcN3 TY6Yim2kqWWiPYAi8mGLgghxYSzh518UrD91tzypeju64isEYfpd3nEP+5c49dykcebL eNoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=Htn+TmSi; 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=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id h22-20020a1709060f5600b00778995de77csi9964648ejj.605.2022.09.14.18.56.08; Wed, 14 Sep 2022 18:56:09 -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=@gmail.com header.s=20210112 header.b=Htn+TmSi; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9A67368BB00; Thu, 15 Sep 2022 04:56:06 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E975868B9B4 for ; Thu, 15 Sep 2022 04:55:59 +0300 (EEST) Received: by mail-wm1-f49.google.com with SMTP id u15-20020a05600c19cf00b003b4acef34b1so233682wmq.4 for ; Wed, 14 Sep 2022 18:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=v+NSMw6xX5a4sfa3/acoCsx0Bj/ADZqh+65zJEWdg0g=; b=Htn+TmSiCtK7q7Cyn5jyAfOt2qMwCA89EBcalBcUSLGXQgw0/qquxeGWFDp/GdulMX cxR4naFsXrUeC+fQjY11vEWOVbqWCm/JBoiq8CFd62TeqBMHcJBRwOEpUtlfbbZ2CnIy iIyzd2PMbyPzdKLMuuVu2UXKYqB8InftuQ62r648tmzlV1q5aMeiWZzXUULskaQHx60I TwFdMgJYQHvxKNutmhzY0GclUZ73LWdL/7A0L26j9zfygYb0JePi+iHIERKmsnl3VS6S WZ37U82JDLHx74LHJyZrpSZpWLunba//wHTr5rWhALkCWDerayQrsuaaGASUDnO6KqrR zyXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=v+NSMw6xX5a4sfa3/acoCsx0Bj/ADZqh+65zJEWdg0g=; b=CchatgtPBdWAJ1/dCjPCf6Qlkr9aXMt69SOQfVTxnry9R1C5Ds8XItXhaY1jCNmHY+ c0EiWZ58OMAU0iZypyUkHgMB74n7OdTxlsysTeJC7XVwUZi3becE7P5NyqOb6bduXe7B s0fPYtVw3honM4syqgDxbOzfYuVb0s9pSxlTtXgIst0rvYbrNlT9umlJ5AI+Ukopwz2+ 1AtLf0+LfvPCRXyfjhLfUCW0IuaK7jv3AzzVP2naQdigPgET8udO5tkCtEbqE1h56kco /7pXK1469t5DCE0pxuE92FneUietrZZe4S73jsAkQxm7nyWzdZXfX14Q1vRYt/mHi+VW d+Eg== X-Gm-Message-State: ACgBeo2YgHI6dGY/ce2PQOx4C2wXwGWctE+pEkCcPyH+SxB81tHA1oOy Zif67sEntiQzpVGQ3k0om+ns2bIHSHzwWA== X-Received: by 2002:a05:600c:5122:b0:3b4:768d:f491 with SMTP id o34-20020a05600c512200b003b4768df491mr5260939wms.68.1663206959440; Wed, 14 Sep 2022 18:55:59 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id q22-20020a7bce96000000b003b491f99a25sm909882wmj.22.2022.09.14.18.55.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 18:55:59 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 15 Sep 2022 03:55:49 +0200 Message-Id: <20220915015555.34841-1-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: References: MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/7] avcodec: Fix Doxygen trailing brief comments 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: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: le05LZ3JwPCK The //< comment is not any magic comment supported by Doxygen, instead use //!< to mark them as brief doc for the members. --- libavcodec/avcodec.h | 8 ++++---- libavcodec/codec_par.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 7db5d1b1c5..665a5eadaf 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2804,10 +2804,10 @@ int avcodec_get_hw_frames_parameters(AVCodecContext *avctx, */ enum AVPictureStructure { - AV_PICTURE_STRUCTURE_UNKNOWN, //< unknown - AV_PICTURE_STRUCTURE_TOP_FIELD, //< coded as top field - AV_PICTURE_STRUCTURE_BOTTOM_FIELD, //< coded as bottom field - AV_PICTURE_STRUCTURE_FRAME, //< coded as frame + AV_PICTURE_STRUCTURE_UNKNOWN, //!< unknown + AV_PICTURE_STRUCTURE_TOP_FIELD, //!< coded as top field + AV_PICTURE_STRUCTURE_BOTTOM_FIELD, //!< coded as bottom field + AV_PICTURE_STRUCTURE_FRAME, //!< coded as frame }; typedef struct AVCodecParserContext { diff --git a/libavcodec/codec_par.h b/libavcodec/codec_par.h index 7660791a12..8caad71b5e 100644 --- a/libavcodec/codec_par.h +++ b/libavcodec/codec_par.h @@ -37,10 +37,10 @@ enum AVFieldOrder { AV_FIELD_UNKNOWN, AV_FIELD_PROGRESSIVE, - AV_FIELD_TT, //< Top coded_first, top displayed first - AV_FIELD_BB, //< Bottom coded first, bottom displayed first - AV_FIELD_TB, //< Top coded first, bottom displayed first - AV_FIELD_BT, //< Bottom coded first, top displayed first + AV_FIELD_TT, //!< Top coded_first, top displayed first + AV_FIELD_BB, //!< Bottom coded first, bottom displayed first + AV_FIELD_TB, //!< Top coded first, bottom displayed first + AV_FIELD_BT, //!< Bottom coded first, top displayed first }; /** From patchwork Thu Sep 15 01:55:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 37923 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp27003pzh; Wed, 14 Sep 2022 18:56:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR6qARigrRMqOfXASBQTcQYlceP6ib9XjmLsQNWjJBoF2/LaedJLZOt9ocqehgs5Hpx2AAZR X-Received: by 2002:a17:906:fd86:b0:777:d739:1ede with SMTP id xa6-20020a170906fd8600b00777d7391edemr21658496ejb.576.1663206976435; Wed, 14 Sep 2022 18:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663206976; cv=none; d=google.com; s=arc-20160816; b=HVJJk5h2SBOwfDLsNmDnrQ+jLvnktfdV51Efr1n3mqJ9ClQ2BEVG24nqRyD5GZxek+ 8S0Nwnwjn4IFr6ldf3VspgIQtSwo2gBont143WKdwSJ6FTCqr4/0KoFJMWxqQs+k8rDi 1ytCj+gC7g3yototcAKsOrpDG9Sq4zb/yygNuXhKDH4Na6gSyF6fmYCw3T0ivZ9Klo8k dYwuW6w3nQiAwM4hQbUZph8eA2mbkXM7pf+d/LAlvtPezBw9otrnz+2kLWmd/EqpOE7f aU7/QWzZGswjenNEK+z5Wbl2E8yWiiNJbCkaxEs2orn7/GMIEcttVN1RVXMBW8WeCaV+ kpgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=tzhUNSjmZhSq2H/CupSuLF9OAT8/UYLiPL1BbRcIT1I=; b=0bypPBAIDFXP4WT6iFNJS4h/l8sD3Gz3JT9naJrb2q/48g8WqVf5TAao5rkLG+WqU2 ye6ZgeYiYDjwLebhD8fGADReQ+k6FjY2jtNWCHNOlxEPyK8HX2dd6YH2LAzzD0aa4EQe i2ltE4iA0rbe3D9vdRklNB6YL96iZvwlU/V+g/ye3RPNXQKTLLTNX2VxQdMj6O50yh6Y KMGJXjyZVSYS90/k/lsq7pyZcYAIZGy7MeYGtERezu9Q2cUzYE09TadBAnSeNhkYR5/L weSmTa/SV0Tx4+Y6LhvEHCdGNf9LIK1tZrsCbM+/MvMtphJUl0svHguAObIlFGcGvNAQ 5okg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=Gw0lOQGV; 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=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id d13-20020a50ea8d000000b0044ef29c71e9si10870976edo.185.2022.09.14.18.56.16; Wed, 14 Sep 2022 18:56:16 -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=@gmail.com header.s=20210112 header.b=Gw0lOQGV; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7DE6C68BACD; Thu, 15 Sep 2022 04:56:08 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 21CF368BB19 for ; Thu, 15 Sep 2022 04:56:02 +0300 (EEST) Received: by mail-wr1-f52.google.com with SMTP id t7so28476293wrm.10 for ; Wed, 14 Sep 2022 18:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=8fDI7vv8AjpRMdYDFAIsz+hkyCpWIw5ZKUdnUa3xkRk=; b=Gw0lOQGVt5ZJkbFY/W7ICxbICarP6CFf+2Tsl8LVhb29wQo26vgkeFi22zDdBCmxZ8 5fH4IA8IleqNHYOdC5yMVr2pr3ADlCCwT3To8f6z0NgbgxS5R/rwGJKpML+HzvmXy1Nw twweZPlByBJFvOdVZUWt7qGkT8ir2smfw7Ztd9n2z1B3qLDSh7GgZ5IiptpmY1Xw9VmB neAQm1Ixd4gAgnn2IFAkijMfAyihAeqh3rVghofO7KuJvwojWTMlkHEAde+BHspIvH11 YIjwtUExGYi5YS7HacpNegXHnZ/tkW5L/PjjeUnfWzSIPWGRZMFBmeQvlXpDw6rmSx4M fYLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=8fDI7vv8AjpRMdYDFAIsz+hkyCpWIw5ZKUdnUa3xkRk=; b=nrLzdjHcQMs7wFeOpa8FzLENg3RRn12MU3H9dfDV7HYVtKZHKI/XB8Ena/evnRevBD +DLCLbIV/KVATNSjsAOaljnvmzOoZzvCygm66oFSyhMC3X1S7nz6u+m5cAtE/yYZMdxw nXcBABh9X2+/i/Wu0N+wFVGLEfC4ZzUffbcpVkB5r/R0abJ8/mal8COqHgwMSmVeZMdJ 8DRdyv6xcBvWfNwgSh7Aa90+00JwrZtAFqhS3pUrnnEK0bahjh9zzoK+YgNzcgGHXDzG D0Ls7xnoHTPM6dj/tiuzH7PF7o8H0KDpIS+dGescE7l1DjEIZlVqjPkz4rshNAC+pwh+ Xhiw== X-Gm-Message-State: ACrzQf0XP+qgSukWrmmTSuKm5pcmFHXI3ydMDy0SFWcwqJvYqv8RUmah 3RIoLvueKctjAQCMWUnGfu+yzW5w6VpSqQ== X-Received: by 2002:a05:6000:1ace:b0:22a:c9a6:e203 with SMTP id i14-20020a0560001ace00b0022ac9a6e203mr3054057wry.694.1663206961475; Wed, 14 Sep 2022 18:56:01 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id q22-20020a7bce96000000b003b491f99a25sm909882wmj.22.2022.09.14.18.56.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 18:56:01 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 15 Sep 2022 03:55:50 +0200 Message-Id: <20220915015555.34841-2-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220915015555.34841-1-epirat07@gmail.com> References: <20220915015555.34841-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/7] avdevice/avdevice: Fix mismatching argument name 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: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: gCDf4ACErpky --- libavdevice/avdevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h index 0b32e59fed..185593053f 100644 --- a/libavdevice/avdevice.h +++ b/libavdevice/avdevice.h @@ -494,7 +494,7 @@ int avdevice_list_devices(struct AVFormatContext *s, AVDeviceInfoList **device_l /** * Convenient function to free result of avdevice_list_devices(). * - * @param devices device list to be freed. + * @param device_list device list to be freed. */ void avdevice_free_list_devices(AVDeviceInfoList **device_list); From patchwork Thu Sep 15 01:55:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 37924 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp27035pzh; Wed, 14 Sep 2022 18:56:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR7laDXJ2MXpYM3ve5ksLk5xetjat9tfeRQSErvePHIoUHBJFyYwJZ6kkEnddoqGisCR1tDh X-Received: by 2002:a17:907:2e0b:b0:77f:5fd8:8712 with SMTP id ig11-20020a1709072e0b00b0077f5fd88712mr9429956ejc.575.1663206984536; Wed, 14 Sep 2022 18:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663206984; cv=none; d=google.com; s=arc-20160816; b=Fx1g/cOHwYUgUVJjoO6Jq6L2axMXnLBydT6oPhsgRXwqbww7iW2x9tzbb23lwZXwb4 OY3Qe4/aQzfM5SbY0wjF72zjt4HBrEsHwE4a0Uov2hiuN7eQWTyRDWPQ4Gq9a7VYeqBW j9RH2TP9+MirQJyHct7yo9tUIMfbsWRU5NcZMPmX3I2qLQbsxtmMum89ExWjqHnqiJkV H51dAUGPA28jr0H80Vo2AswiBwLZrT7THNRpL1pkMtpr3HgjyOI8jhM24lrqGAvoDOdQ 7AMffNT7N3ovcXN9Z38mvfoj80S80OEtqUaIfma0UEautIKoLxkvt/0ZZBubK2MG+L5I pP5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=RYCFq1V7C3Bk60hzpbKGYtZSIREehUcTVetheVKXtAE=; b=yiuvO+HBpYcBc0eI2HWTcxHDqaC59wWX1iC60EA0wGkneorszSw9QNedvH2+MabP+h Aa/IkxtHY5dgioqfiJJhtFc1FKSrLE96H5A6/cXQSo2p2Gdk6pR9dr1x9Nvo6LnO+IEo KrtRazUmqqgiCPVnM0IgQqXOENljZXGtGiQYyGLv8eWzlCaPF3eBC9vcTgBFZhrB2UUM KoaaHbnROYS2BVg87RX58q8Z34QNBKl6XOCdhx4sjLUfXLguVhxVkbGg7MdhwIk7auBI mpn+nrdQSaXtYTUbK3D0nj97oc+vFyEzOwZqmiTDsjqOC2OD5fUggZI+5t68C+w8NBSG +KUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=g+3Tgy95; 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=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id h12-20020a05640250cc00b0044612f19c98si15556174edb.512.2022.09.14.18.56.23; Wed, 14 Sep 2022 18:56:24 -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=@gmail.com header.s=20210112 header.b=g+3Tgy95; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7B66768BB36; Thu, 15 Sep 2022 04:56:11 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AE7B968BAE2 for ; Thu, 15 Sep 2022 04:56:04 +0300 (EEST) Received: by mail-wr1-f42.google.com with SMTP id bz13so28522175wrb.2 for ; Wed, 14 Sep 2022 18:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=ycrLtmiQz5pawfk+gPVAhPc9vc0fSgQfZU8zhaNThhc=; b=g+3Tgy958yA9pkinxdJNlM7SQIKZuKlGUgTiUjee10TbuwUg29RyO8HcYkV1xmukOg XUkeoOMxxBXTTNBAmh2GgecXUBcm+LmdafF0gXM0O4cESkZvz1pYpftF/SxIhhk7WRs4 EKWX4yzWqEvYH10Bjx5pendnkggO5db9aVKqOVRSXQU3mQ6/ZHsIja7FZGkRVw9NUkJw zs1zxrOf9vTXpdEwlGblsPEfSaKDZ2Mpf18D/TAeenEaTEfWsVams4iTaFDNicabtc0k cM+b7pPSiSooUifzQHaMkgyaoOVa9cWxyzg7ApzrnNBzswy5VUQPsjVtZ3lXi8dFoP32 Tqtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=ycrLtmiQz5pawfk+gPVAhPc9vc0fSgQfZU8zhaNThhc=; b=0W8TI6TA7RVi2J8xyNiahZIIaZ0PF6zc5Z1bmPIaYHzAv2YG16leSNzdwHMcM1qhCe D1ObWW2oqaFsQ7xjXQ8kQjfMgxh7wPsRlJ6/OV3nDbaNPEI2YA4hL5xiQjKxwjyf9ll1 MpT6ZwdDQJKbUq4y/QyJzQL+N3YlD4Vi39dso1aj3lV+brAoZbP8sBESMu4sqlbexvMP 2MM01PoV31/bq+M+u2Gv+lgkkOCxjBfrIbX9EyVk2G0AQ76iv/d7kI6Qx3iFevXfRrbU jg+W0ZUK3catFhHC2SVW/uS0dY5PgwsVsQBS0T+bFRuavIHz626Ea5jfOGH6zH1N1Az8 XmEg== X-Gm-Message-State: ACgBeo2HfVlbyfBakRJmER7IGkNhqqthoYE+WNZDRXBFOKLYlPoEyf6g TPbTFsJuQSqBQqteiOhv4GlPpANcRJTtBQ== X-Received: by 2002:a5d:6545:0:b0:228:dab8:af03 with SMTP id z5-20020a5d6545000000b00228dab8af03mr23165241wrv.29.1663206964033; Wed, 14 Sep 2022 18:56:04 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id q22-20020a7bce96000000b003b491f99a25sm909882wmj.22.2022.09.14.18.56.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 18:56:03 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 15 Sep 2022 03:55:51 +0200 Message-Id: <20220915015555.34841-3-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220915015555.34841-1-epirat07@gmail.com> References: <20220915015555.34841-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/7] avformat/avformat: Fix mismatching argument names 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: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: KynX5C2Zg6oQ --- libavformat/avformat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 9d46875cce..c695cfc6de 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2003,7 +2003,7 @@ AVProgram *av_new_program(AVFormatContext *s, int id); * avformat_free_context() can be used to free the context and * everything allocated by the framework within it. * - * @param *ctx is set to the created format context, or to NULL in + * @param ctx pointee is set to the created format context, or to NULL in * case of failure * @param oformat format to use for allocating the context, if NULL * format_name and filename are used instead @@ -2656,7 +2656,7 @@ const AVIndexEntry *avformat_index_get_entry(AVStream *st, int idx); * Get the AVIndexEntry corresponding to the given timestamp. * * @param st Stream containing the requested AVIndexEntry. - * @param timestamp Timestamp to retrieve the index entry for. + * @param wanted_timestamp Timestamp to retrieve the index entry for. * @param flags If AVSEEK_FLAG_BACKWARD then the returned entry will correspond * to the timestamp which is <= the requested one, if backward * is 0, then it will be >= From patchwork Thu Sep 15 01:52:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 37920 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp26429pzh; Wed, 14 Sep 2022 18:53:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Vl9b2YPEJU30HYuzBFTlbhBuUVT/p2T9x8nexVZqpJ7yMi+5bX1q6RWNT1Dyv29UQCU12 X-Received: by 2002:a05:6402:1d48:b0:44e:c6cf:778 with SMTP id dz8-20020a0564021d4800b0044ec6cf0778mr33730106edb.421.1663206838783; Wed, 14 Sep 2022 18:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663206838; cv=none; d=google.com; s=arc-20160816; b=BckkKtsv212wsgOpBpgs1C+UA8Qkwz+4Edh6+9MpJj5FCywnIokrntCmSdhgfN9gZY gRN8LYtK1BeqDsHcFBN3gNLdP7i+9FqgveLuTDJtjgQmKVBGFt9fCFPNmdT1MWn/SJxZ hoP1XYo2z/ki61TxDf0H7M0Ia04FwQT1XKybNwO9RrZkJKggDBk3X+PXV3GGrriCm8jX WQWWf9QUvYIcTJc9FH7hAt35Yg2Hm1+qX8/nyC9RdB11yRf7Om2XR1x4E8z3J/xGZcok xB4z9VELFXOrbzeJDh2ToNqkx6nXlFiAtdf34BMolQGm8W3LwhzMnqeySNGXjZ6YS0Cs fdlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=df/UdaQ+8foHMnrPRdwILw0IBpzf4XCX1CBOTnGzCVY=; b=Erded/Twyttzm5FdzVjz1B3Bnzpt8YfYzLIiMwcHDf4rras0KGZJSrqzeaFN09qnSS jYyVc58/DOZqWodi5rZUGqwe5tXR6z1k3rvpZvj0tTSMkDSWx6uzhv81kT43ckbBpdyA rMzEv/AW/iykmKKUVdwMJ0X3DpipY8LkriSm/BuFY5qVTWEVLKlWYLJXR2Eva+8+xwHC regYddIvoux9nQtP1TKqvYKv09m+9YsidsA+ZOFX4m/C2PP/iUounSgEuPrKi892xyz0 KIKmgd5l7QkpxnbjSrZw7L3SBcqhHD2GFIpaoKtn+msRBr3hISw+nM6yRcDMLetWhT2c 789A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=SzA49pAj; 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=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id t2-20020a17090616c200b007418e87eea8si10324080ejd.770.2022.09.14.18.53.35; Wed, 14 Sep 2022 18:53:58 -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=@gmail.com header.s=20210112 header.b=SzA49pAj; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E1D0A68BAEB; Thu, 15 Sep 2022 04:53:31 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EF10568B8C0 for ; Thu, 15 Sep 2022 04:53:24 +0300 (EEST) Received: by mail-wr1-f43.google.com with SMTP id bz13so28515944wrb.2 for ; Wed, 14 Sep 2022 18:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=WqWBHUiNeF1sI/YS0gsrcaVAre7eHUBA4xaJM7qBGXY=; b=SzA49pAj3VP9myq/DXSf5n6p0HJ06RArhSaWHgq3s0VMbnhwv5SNfwQlLk9IRSGTY1 a4G9hh6VYafC+ZK8I3R5GBADdYRaSf/YlV7GFnt15E31K1WvQ1JddU7G079Tgfdl6CND TvcatNTTbk+BKscjPJQbIEXCX6LaTATcq/OsszCkMVVuEuPIzTgD3CCouGHeABCscfc7 srebPrwC88YPLz/U/0xaKOmOd6qz7UeCr6gBo9OTUUVaYGKI/jLGwC4DP4mDTAVraJGF VBwixO+5JoImDccU6uWa1lRhxzXmaOOQshAGoeTB0mWVs0sYkA+9FNZvoZBijrMCKPEJ oYWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=WqWBHUiNeF1sI/YS0gsrcaVAre7eHUBA4xaJM7qBGXY=; b=TIFjQtVOFWtaoV1Bh5fHJLHn9Rv+rpvW7Shixdvk/qvqzoWVGUCm/N36vCBOGqStvs b5Sf/oGTdpJ7mbyQEqptE3iJCzD/pEgTVaq864RtIFUrDtAAXsf5cyN+/00ISpqoGnQP yUquNdFmu2q8jTWKuY8WYjbY8L80112dnJEmCzox/7y0jufJfLdmUY6cRJST58m1Z/q1 puEmLF6nNbn3+Pb8NJhtTblb90ztd9V9Ackz6Rq89/ihZ0hBhxsmsL8BJSIBGb0LbNNQ ryNUYgMiWxt1SYvgv/fXPmYtKtHbIN/xmecGuH6tPAwzFu6I2lyQ0UmG+PmiWVeHZvFl cEfw== X-Gm-Message-State: ACgBeo1rOYvamDDY6C13WOEXMA5Tw67i2vMnHX0CPyEhjmH/SHFU4C9G X/0OV1MPwtf6KHJuuRwogASra+D/1gd0jg== X-Received: by 2002:a5d:64e8:0:b0:22a:bb78:1e44 with SMTP id g8-20020a5d64e8000000b0022abb781e44mr8134279wri.378.1663206804095; Wed, 14 Sep 2022 18:53:24 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id x4-20020adfec04000000b002253604bbefsm823633wrn.75.2022.09.14.18.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 18:53:23 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 15 Sep 2022 03:52:58 +0200 Message-Id: <20220915015301.34744-4-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/7] avutil: Fix mismatching argument names 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: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: H2ixNkLVBL2a --- libavutil/hwcontext.h | 2 +- libavutil/mathematics.h | 6 ++++-- libavutil/mem.h | 3 ++- libavutil/rational.h | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/hwcontext.h b/libavutil/hwcontext.h index c18b7e1e8b..efca17585e 100644 --- a/libavutil/hwcontext.h +++ b/libavutil/hwcontext.h @@ -249,7 +249,7 @@ const char *av_hwdevice_get_type_name(enum AVHWDeviceType type); /** * Iterate over supported device types. * - * @param type AV_HWDEVICE_TYPE_NONE initially, then the previous type + * @param prev AV_HWDEVICE_TYPE_NONE initially, then the previous type * returned by this function in subsequent iterations. * @return The next usable device type from enum AVHWDeviceType, or * AV_HWDEVICE_TYPE_NONE if there are no more. diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h index 64d4137a60..e4aff1e973 100644 --- a/libavutil/mathematics.h +++ b/libavutil/mathematics.h @@ -111,7 +111,8 @@ enum AVRounding { /** * Compute the greatest common divisor of two integer operands. * - * @param a,b Operands + * @param a Operand + * @param b Operand * @return GCD of a and b up to sign; if a >= 0 and b >= 0, return value is >= 0; * if a == 0 and b == 0, returns 0. */ @@ -186,7 +187,8 @@ int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b); * av_compare_mod(0x11, 0x02, 0x20) > 0 // since 0x11 % 0x20 (0x11) > 0x02 % 0x20 (0x02) * @endcode * - * @param a,b Operands + * @param a Operand + * @param b Operand * @param mod Divisor; must be a power of 2 * @return * - a negative value if `a % mod < b % mod` diff --git a/libavutil/mem.h b/libavutil/mem.h index d91174196c..c9c4fcf1ff 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -667,7 +667,8 @@ void *av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, /** * Multiply two `size_t` values checking for overflow. * - * @param[in] a,b Operands of multiplication + * @param[in] a Operand of multiplication + * @param[in] b Operand of multiplication * @param[out] r Pointer to the result of the operation * @return 0 on success, AVERROR(EINVAL) on overflow */ diff --git a/libavutil/rational.h b/libavutil/rational.h index cbb08a0baf..8cbfc8e066 100644 --- a/libavutil/rational.h +++ b/libavutil/rational.h @@ -179,7 +179,8 @@ AVRational av_d2q(double d, int max) av_const; * Find which of the two rationals is closer to another rational. * * @param q Rational to be compared against - * @param q1,q2 Rationals to be tested + * @param q1 Rational to be tested + * @param q2 Rational to be tested * @return One of the following values: * - 1 if `q1` is nearer to `q` than `q2` * - -1 if `q2` is nearer to `q` than `q1` From patchwork Thu Sep 15 01:52:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 37918 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp26378pzh; Wed, 14 Sep 2022 18:53:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR72QBjPBV7BS92b04Ao4wZx1nmMl4vo2Oi2l9dDgxVXgcq2dVQ8ACukN6pf9N32FcGDl3ln X-Received: by 2002:a17:907:a049:b0:77c:1f27:1b28 with SMTP id gz9-20020a170907a04900b0077c1f271b28mr15776025ejc.20.1663206826668; Wed, 14 Sep 2022 18:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663206826; cv=none; d=google.com; s=arc-20160816; b=OBZGxgf6IB8XcxeMdgbeLnX/3OS1HmKVdTqha+FCV6NrMQedGGKf9ogFLvDbRKxK5z 0R17I4Wn+ucwUKQ9+DzlEN0729mgX6fq0qQ/fGrt6XSxh8LBahRIoDrjvobOnmeZCzAO 6iUDM3ZgkSN57CuyMUPI8/pzRBBWTVXUHh9zCtHiT89C8CTJPm+TBkv1Rpc36SduXyMx glkSVruhEH1/Y/ChHh9fCcoKTDWrVSe+pi1CWeXV5yRDD8v65i1mrKul9KP8ceP78A/q LEkWLCurBKgYN4HChVxY+EI3ir22cuDNo2mM2NgMRYw+oBquYKXSE/ffQOQ/iNFBwDEs sV1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=FL9LWsrQy2DIpp4vlm9DlXTMNQXGxo6Tijzi2hCcMAc=; b=bNDXO6JocyE+UuxoErnOfPhQfqEVq2dm+4tQQiACeNjw0Lqo5PcZgK3IIcZZOKgNRH FcrfsHLJdn2NDT0Ww2kYapcTGL8lVVeDA205Lerdiy1dTw91BF8YYpY+cA4+JzZlyCGI 5+SE+IVX9KU9gHDN4vawqbvSsPAb5DBu67ULoEJW8hFjMRmYACdcrvqPQJCyxrH4OW6v /R/ObSywRGf0xLgxbzMj2/vJFN3H7FMxpjJQPG/3Da1raF6mtA4NZbV5DJRfoTObXcva PhZcIKaQurqkdczRcOOnL04PwVcLv2SiQCzriNjHwYoevfVjhRt8TIT8WygKon0ESt2u 3dzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=E5HYSf8g; 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=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id z8-20020a056402274800b0043d9ec0eb4fsi15194408edd.16.2022.09.14.18.53.46; Wed, 14 Sep 2022 18:53:46 -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=@gmail.com header.s=20210112 header.b=E5HYSf8g; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3E10968B98E; Thu, 15 Sep 2022 04:53:33 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 81C9668B8C0 for ; Thu, 15 Sep 2022 04:53:25 +0300 (EEST) Received: by mail-wm1-f49.google.com with SMTP id v185-20020a1cacc2000000b003b42e4f278cso13711873wme.5 for ; Wed, 14 Sep 2022 18:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=jWCGECnlx6nQM2V7H8NsluZeppptnoSWB0j+ibLXcdk=; b=E5HYSf8gthE8c3LQ543oW1fBmzFA0Tg5V0xHntBOECltcfJMwbikajGmOvDHNYKXg1 3ATOZ7mBOB+aZ9VfSOA0iTv5zuO8OOAYwZA/SSxnl04OgD8ZcO25AiQpUpByfFgcXZjF lRpC2jqGZPGdUrGNXdMWVR6XvzHuq1zHzbHp/qmQw0C72tFnixcxYOHAdAJmFABprPY3 igza/qk+lCYwGPstqNUvSA8c72kVyp2LgHrdA7Z/ueFnSlV+FVMfJw0hii1creI57Jhm DzLCbXQw3jkTasiGycUxXWazcDeRybrwZnoeaGt8t7dg54SgXXk+oF+SUaVRmpm8RxLV a5Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=jWCGECnlx6nQM2V7H8NsluZeppptnoSWB0j+ibLXcdk=; b=UiR3fXWtIzb3lSO7jBmGN6BZIR2l9oDFaBMdzpI9dLmPDTVcRi+Z3sBb3M8OzIoMPf FX686PnaEha+8MZIKXB2/8SfnfR94bXf7j2M00O2kbmYiLI4fVjdZTzVrRnaK1buaBbk XFewVZVn3iS64SylnK9ilx7J7njfNGwTC5RvCI1Tl+MdN5E9rH3c0RyVyh6oiteNiiQ3 ld8U77LhpqwgrGjmswFXm5tzeP7+MhOS/bG1k5h3sPWW8M8TWBqT3k/htLjTEvZERwds rRuU6GO2SvLs6V4nsvt05D+6x4J+oCimEiZfnbXI8hY90YwY8rYJJ22zZRVqpRcVJQFs MZEA== X-Gm-Message-State: ACgBeo1VDKhMItabr9L4D4vsx0p+DxnGrFk3LD5ICo7qC1Yyy4dNsfFb 71WclNyBIEQKnnN3WNCl0WjV/X9l2yQpmA== X-Received: by 2002:a7b:c5d3:0:b0:3a8:3d5f:4562 with SMTP id n19-20020a7bc5d3000000b003a83d5f4562mr5071077wmk.78.1663206804799; Wed, 14 Sep 2022 18:53:24 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id x4-20020adfec04000000b002253604bbefsm823633wrn.75.2022.09.14.18.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 18:53:24 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 15 Sep 2022 03:52:59 +0200 Message-Id: <20220915015301.34744-5-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220915015301.34744-4-epirat07@gmail.com> References: <20220915015301.34744-4-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/7] swresample/swresample: Fix mismatching argument names 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: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: fukml9IWfzdR --- libswresample/swresample.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libswresample/swresample.h b/libswresample/swresample.h index 980be65783..83821a0930 100644 --- a/libswresample/swresample.h +++ b/libswresample/swresample.h @@ -354,8 +354,8 @@ int swr_convert(struct SwrContext *s, uint8_t **out, int out_count, * in this case the output timestamps will match output sample numbers. * See ffmpeg-resampler(1) for the two modes of compensation. * - * @param s[in] initialized Swr context - * @param pts[in] timestamp for the next input sample, INT64_MIN if unknown + * @param[in] s initialized Swr context + * @param[in] pts timestamp for the next input sample, INT64_MIN if unknown * @see swr_set_compensation(), swr_drop_output(), and swr_inject_silence() are * function used internally for timestamp compensation. * @return the output timestamp for the next output sample @@ -636,8 +636,8 @@ int swr_convert_frame(SwrContext *swr, * @see swr_close(); * * @param swr audio resample context - * @param output output AVFrame - * @param input input AVFrame + * @param output out AVFrame + * @param input in AVFrame * @return 0 on success, AVERROR on failure. */ int swr_config_frame(SwrContext *swr, const AVFrame *out, const AVFrame *in); From patchwork Thu Sep 15 01:53:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 37919 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp26409pzh; Wed, 14 Sep 2022 18:53:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR6gQj/wFhbDtio+zMJDuL94VlXymSzizbm4acm8NJfn1TcAMHJ4gPaA/ljIDh4H74Ngd8Mt X-Received: by 2002:a17:906:9fc1:b0:761:9192:504f with SMTP id hj1-20020a1709069fc100b007619192504fmr27295814ejc.116.1663206835982; Wed, 14 Sep 2022 18:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663206835; cv=none; d=google.com; s=arc-20160816; b=mVB/x+0UfZ3gG8+g3vKlDzleFrXXlhdE7gsKtCONNOs1qTRksTJ0rfuBCHWnFLChA5 y/Wm0VmolYMezjHKF8N8VWQHa32GjUvxbvpka7NN0qqVLnm0BXkzUvrWSyDQAb35HBD0 XkCyGAL+8zKQViJD506poGnwYvdfoBwqDw3/sl+cyvwwaKRp+oVZC/QYDxb9JjlzzHid Jcayaa/XKvJN31tHCCaq0RgCPXEU+N7vuc2bMmor8T23sh4+x57sbNYez2pc6UTvdn5D FvO5dkt1pMw5BSRVVtmMdjVVkJ3JCBdKCxc1h4ynNuhMPuVyOq9nt69iitb4K0EJm/vh 6HTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=zL4sWPEaj0B3K4EhUdeISEm/5+PpAfw9gHsO+d5hPDQ=; b=KPlG1SDNcp2AmQa36nMNSgBx6RMEM5m4XuXJJTNaGRYfBVmh/nYp94qXPGb8HkNwgL D6RGB9AEnM8MDUSLoKi6BGtHQb05UxTkIun+xAvuhROafFkaxzyp10KoUfH/A9hURuVO N9j5q02uCI/U2mE9JhPlBe5xUtxXlnjUdbBlPOv0pu1bIB6+uq0wAFypxK2upvuRM0SD GhsKa3rziNC4rW7h41IVHhUytTgG0oEcP8ljzouiwXHl+DvPU9RVGB3Se8cqQ4l7j8Uq s1xImit3igEv7gH65t1Jz9yD0PgYPVaQwbNceyLFg4deBOHk2EGppw1nHi0tPGAPrNV7 Z/8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=ebBnib05; 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=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id h2-20020aa7c602000000b0044e8330487esi10712157edq.264.2022.09.14.18.53.55; Wed, 14 Sep 2022 18:53: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=@gmail.com header.s=20210112 header.b=ebBnib05; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 425D568BB37; Thu, 15 Sep 2022 04:53:34 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6879268B76F for ; Thu, 15 Sep 2022 04:53:26 +0300 (EEST) Received: by mail-wm1-f44.google.com with SMTP id h133-20020a1c218b000000b003b494ffc00bso31050wmh.0 for ; Wed, 14 Sep 2022 18:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=wLYnHglkepTFDqeEdl4n8vXjnkT5gb6SWHBZfelC0DE=; b=ebBnib05llMEdLCV1elNwzeB58md8BuqIy2eKgiuryoQgFyxOzA0LKwIoB5efgDGXl 9K08hIhE/xdOCkVAmAQZiqQ9MGDsBe0Fxrx61jY4onu6fYGj38EaSxUTjpYnObVKAuwY 9PKG9OkvJW1+lasqO+sPo1YM0RY4yzASrC+n1hYUWjLRgsfl8wCrj/8xNzRQRZ+PyHKy iKSY87S2a7+gibILLXCV3+iz7+oNi45I2gcZzynNw7zGPXYop07y8tuLvqxu4Xm2uEYB y/dYEISMiWSFQuwrR6mW3Ew0DZCYsgNKNi7g/H0EE4eAUXxPlqOj77nwl9s+NQ+HijQ0 38vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=wLYnHglkepTFDqeEdl4n8vXjnkT5gb6SWHBZfelC0DE=; b=x5V/yPHKxUmiC2A2xOw2qYT77bzR9+XYvMtIw48QoCM1EzZ+HwxGYxNHeUMtYW6cEr lMGsZVHi2T7KlC9G3gxeUZkkeWFZR4lb6DTvY7anmrmBriww11YHoqgq9t7HbJcLtAlr 3uKr2xtEuAvJOlVdeiPklYb/5R8IvMGlTz+70D7i8jAvPn46bAChSC4vc6GMik1bsw39 Weu2qg+8BoIZiOzCNu+0LYVruW6RNKLa2ABs630IPj9lPu2jLv2L+z9pQiJurzGZT49q +/hS0jjlSWc18+jhbU5Isj/8Gr791DpRBf+ORV5iuWsqs0rJaQ3myIXW6XlWCt5PFT+i Q3TQ== X-Gm-Message-State: ACgBeo2ldWL3nP43IMdDHO5LP+AE721Vm+mGcra3x8YIsnVCMlUFl2MJ JTQPo1UK0dW27uDJ91Hv/Hl1QVj/GtxBbA== X-Received: by 2002:a7b:ce97:0:b0:3b3:4136:59fe with SMTP id q23-20020a7bce97000000b003b3413659femr5004214wmj.24.1663206805490; Wed, 14 Sep 2022 18:53:25 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id x4-20020adfec04000000b002253604bbefsm823633wrn.75.2022.09.14.18.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 18:53:25 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 15 Sep 2022 03:53:00 +0200 Message-Id: <20220915015301.34744-6-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220915015301.34744-4-epirat07@gmail.com> References: <20220915015301.34744-4-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 6/7] avformat/avformat: Improve doxy style 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: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: sLddYT09dYZB Mostly re-indenting and adding some missing references. --- libavformat/avformat.h | 180 +++++++++++++++++++++++------------------ 1 file changed, 103 insertions(+), 77 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index c695cfc6de..1d97d56ac5 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1898,8 +1898,8 @@ const AVOutputFormat *av_muxer_iterate(void **opaque); /** * Iterate over all registered demuxers. * - * @param opaque a pointer where libavformat will store the iteration state. Must - * point to NULL to start the iteration. + * @param opaque a pointer where libavformat will store the iteration state. + * Must point to NULL to start the iteration. * * @return the next registered demuxer or NULL when the iteration is * finished @@ -1957,12 +1957,13 @@ AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c); /** * Wrap an existing array as stream side data. * - * @param st stream + * @param st stream * @param type side information type * @param data the side data array. It must be allocated with the av_malloc() * family of functions. The ownership of the data is transferred to * st. * @param size side information size + * * @return zero on success, a negative AVERROR code on failure. On failure, * the stream is unchanged and the data remains owned by the caller. */ @@ -1973,8 +1974,9 @@ int av_stream_add_side_data(AVStream *st, enum AVPacketSideDataType type, * Allocate new information from stream. * * @param stream stream - * @param type desired side information type - * @param size side information size + * @param type desired side information type + * @param size side information size + * * @return pointer to fresh allocated data or NULL otherwise */ uint8_t *av_stream_new_side_data(AVStream *stream, @@ -1983,9 +1985,10 @@ uint8_t *av_stream_new_side_data(AVStream *stream, * Get side information from stream. * * @param stream stream - * @param type desired side information type - * @param size If supplied, *size will be set to the size of the side data - * or to zero if the desired side data is not present. + * @param type desired side information type + * @param size If supplied, *size will be set to the size of the side data + * or to zero if the desired side data is not present. + * * @return pointer to data if present or NULL otherwise */ uint8_t *av_stream_get_side_data(const AVStream *stream, @@ -2003,16 +2006,17 @@ AVProgram *av_new_program(AVFormatContext *s, int id); * avformat_free_context() can be used to free the context and * everything allocated by the framework within it. * - * @param ctx pointee is set to the created format context, or to NULL in - * case of failure - * @param oformat format to use for allocating the context, if NULL - * format_name and filename are used instead - * @param format_name the name of output format to use for allocating the - * context, if NULL filename is used instead - * @param filename the name of the filename to use for allocating the - * context, may be NULL - * @return >= 0 in case of success, a negative AVERROR code in case of - * failure + * @param ctx pointee is set to the created format context, + * or to NULL in case of failure + * @param oformat format to use for allocating the context, if NULL + * format_name and filename are used instead + * @param format_name the name of output format to use for allocating the + * context, if NULL filename is used instead + * @param filename the name of the filename to use for allocating the + * context, may be NULL + * + * @return >= 0 in case of success, a negative AVERROR code in case of + * failure */ int avformat_alloc_output_context2(AVFormatContext **ctx, const AVOutputFormat *oformat, const char *format_name, const char *filename); @@ -2067,15 +2071,16 @@ const AVInputFormat *av_probe_input_format3(const AVProbeData *pd, * attempt is made. When the maximum probe size is reached, the input format * with the highest score is returned. * - * @param pb the bytestream to probe - * @param fmt the input format is put here - * @param url the url of the stream - * @param logctx the log context - * @param offset the offset within the bytestream to probe from + * @param pb the bytestream to probe + * @param fmt the input format is put here + * @param url the url of the stream + * @param logctx the log context + * @param offset the offset within the bytestream to probe from * @param max_probe_size the maximum probe buffer size (zero for default) + * * @return the score in case of success, a negative value corresponding to an * the maximal score is AVPROBE_SCORE_MAX - * AVERROR code otherwise + * AVERROR code otherwise */ int av_probe_input_buffer2(AVIOContext *pb, const AVInputFormat **fmt, const char *url, void *logctx, @@ -2092,16 +2097,19 @@ int av_probe_input_buffer(AVIOContext *pb, const AVInputFormat **fmt, * Open an input stream and read the header. The codecs are not opened. * The stream must be closed with avformat_close_input(). * - * @param ps Pointer to user-supplied AVFormatContext (allocated by avformat_alloc_context). - * May be a pointer to NULL, in which case an AVFormatContext is allocated by this - * function and written into ps. - * Note that a user-supplied AVFormatContext will be freed on failure. - * @param url URL of the stream to open. - * @param fmt If non-NULL, this parameter forces a specific input format. - * Otherwise the format is autodetected. - * @param options A dictionary filled with AVFormatContext and demuxer-private options. - * On return this parameter will be destroyed and replaced with a dict containing - * options that were not found. May be NULL. + * @param ps Pointer to user-supplied AVFormatContext (allocated by + * avformat_alloc_context). May be a pointer to NULL, in + * which case an AVFormatContext is allocated by this + * function and written into ps. + * Note that a user-supplied AVFormatContext will be freed + * on failure. + * @param url URL of the stream to open. + * @param fmt If non-NULL, this parameter forces a specific input format. + * Otherwise the format is autodetected. + * @param options A dictionary filled with AVFormatContext and demuxer-private + * options. + * On return this parameter will be destroyed and replaced with + * a dict containing options that were not found. May be NULL. * * @return 0 on success, a negative AVERROR on failure. * @@ -2140,6 +2148,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options); * @param last the last found program, the search will start after this * program, or from the beginning if it is NULL * @param s stream index + * * @return the next program which belongs to s, NULL if no program is found or * the last program is not among the programs of ic. */ @@ -2164,10 +2173,12 @@ void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int i * @param decoder_ret if non-NULL, returns the decoder for the * selected stream * @param flags flags; none are currently defined + * * @return the non-negative stream number in case of success, * AVERROR_STREAM_NOT_FOUND if no stream with the requested type * could be found, * AVERROR_DECODER_NOT_FOUND if streams were found but no decoder + * * @note If av_find_best_stream returns successfully and decoder_ret is not * NULL, then *decoder_ret is guaranteed to be set to a valid AVCodec. */ @@ -2211,13 +2222,14 @@ int av_read_frame(AVFormatContext *s, AVPacket *pkt); * Seek to the keyframe at timestamp. * 'timestamp' in 'stream_index'. * - * @param s media file handle - * @param stream_index If stream_index is (-1), a default - * stream is selected, and timestamp is automatically converted - * from AV_TIME_BASE units to the stream specific time_base. - * @param timestamp Timestamp in AVStream.time_base units - * or, if no stream is specified, in AV_TIME_BASE units. - * @param flags flags which select direction and seeking mode + * @param s media file handle + * @param stream_index If stream_index is (-1), a default stream is selected, + * and timestamp is automatically converted from + * AV_TIME_BASE units to the stream specific time_base. + * @param timestamp Timestamp in AVStream.time_base units or, if no stream + * is specified, in AV_TIME_BASE units. + * @param flags flags which select direction and seeking mode + * * @return >= 0 on success */ int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, @@ -2239,12 +2251,12 @@ int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, * keyframes (this may not be supported by all demuxers). * If flags contain AVSEEK_FLAG_BACKWARD, it is ignored. * - * @param s media file handle + * @param s media file handle * @param stream_index index of the stream which is used as time base reference - * @param min_ts smallest acceptable timestamp - * @param ts target timestamp - * @param max_ts largest acceptable timestamp - * @param flags flags + * @param min_ts smallest acceptable timestamp + * @param ts target timestamp + * @param max_ts largest acceptable timestamp + * @param flags flags * @return >=0 on success, error code otherwise * * @note This is part of the new seek API which is still under construction. @@ -2308,16 +2320,22 @@ void avformat_close_input(AVFormatContext **s); * Allocate the stream private data and write the stream header to * an output media file. * - * @param s Media file handle, must be allocated with avformat_alloc_context(). - * Its oformat field must be set to the desired output format; - * Its pb field must be set to an already opened AVIOContext. - * @param options An AVDictionary filled with AVFormatContext and muxer-private options. - * On return this parameter will be destroyed and replaced with a dict containing - * options that were not found. May be NULL. - * - * @return AVSTREAM_INIT_IN_WRITE_HEADER on success if the codec had not already been fully initialized in avformat_init, - * AVSTREAM_INIT_IN_INIT_OUTPUT on success if the codec had already been fully initialized in avformat_init, - * negative AVERROR on failure. + * @param s Media file handle, must be allocated with + * avformat_alloc_context(). + * Its \ref AVFormatContext.oformat "oformat" field must be set + * to the desired output format; + * Its \ref AVFormatContext.pb "pb" field must be set to an + * already opened ::AVIOContext. + * @param options An ::AVDictionary filled with AVFormatContext and + * muxer-private options. + * On return this parameter will be destroyed and replaced with + * a dict containing options that were not found. May be NULL. + * + * @retval AVSTREAM_INIT_IN_WRITE_HEADER On success, if the codec had not already been + * fully initialized in avformat_init_output(). + * @retval AVSTREAM_INIT_IN_INIT_OUTPUT On success, if the codec had already been fully + * initialized in avformat_init_output(). + * @retval AVERROR A negative AVERROR on failure. * * @see av_opt_find, av_dict_set, avio_open, av_oformat_next, avformat_init_output. */ @@ -2326,20 +2344,26 @@ int avformat_write_header(AVFormatContext *s, AVDictionary **options); /** * Allocate the stream private data and initialize the codec, but do not write the header. - * May optionally be used before avformat_write_header to initialize stream parameters + * May optionally be used before avformat_write_header() to initialize stream parameters * before actually writing the header. - * If using this function, do not pass the same options to avformat_write_header. - * - * @param s Media file handle, must be allocated with avformat_alloc_context(). - * Its oformat field must be set to the desired output format; - * Its pb field must be set to an already opened AVIOContext. - * @param options An AVDictionary filled with AVFormatContext and muxer-private options. - * On return this parameter will be destroyed and replaced with a dict containing - * options that were not found. May be NULL. - * - * @return AVSTREAM_INIT_IN_WRITE_HEADER on success if the codec requires avformat_write_header to fully initialize, - * AVSTREAM_INIT_IN_INIT_OUTPUT on success if the codec has been fully initialized, - * negative AVERROR on failure. + * If using this function, do not pass the same options to avformat_write_header(). + * + * @param s Media file handle, must be allocated with + * avformat_alloc_context(). + * Its \ref AVFormatContext.oformat "oformat" field must be set + * to the desired output format; + * Its \ref AVFormatContext.pb "pb" field must be set to an + * already opened ::AVIOContext. + * @param options An ::AVDictionary filled with AVFormatContext and + * muxer-private options. + * On return this parameter will be destroyed and replaced with + * a dict containing options that were not found. May be NULL. + * + * @retval AVSTREAM_INIT_IN_WRITE_HEADER On success, if the codec requires + * avformat_write_header to fully initialize. + * @retval AVSTREAM_INIT_IN_INIT_OUTPUT On success, if the codec has been fully + * initialized. + * @retval AVERROR Anegative AVERROR on failure. * * @see av_opt_find, av_dict_set, avio_open, av_oformat_next, avformat_write_header. */ @@ -2484,11 +2508,11 @@ int av_write_trailer(AVFormatContext *s); * there is no match. * * @param short_name if non-NULL checks if short_name matches with the - * names of the registered formats - * @param filename if non-NULL checks if filename terminates with the - * extensions of the registered formats - * @param mime_type if non-NULL checks if mime_type matches with the - * MIME type of the registered formats + * names of the registered formats + * @param filename if non-NULL checks if filename terminates with the + * extensions of the registered formats + * @param mime_type if non-NULL checks if mime_type matches with the + * MIME type of the registered formats */ const AVOutputFormat *av_guess_format(const char *short_name, const char *filename, @@ -2512,9 +2536,11 @@ enum AVCodecID av_guess_codec(const AVOutputFormat *fmt, const char *short_name, * time_base units * @param[out] wall absolute time when that packet whas output, * in microsecond - * @return 0 if OK, AVERROR(ENOSYS) if the format does not support it - * Note: some formats or devices may not allow to measure dts and wall - * atomically. + * @retval 0 Success + * @retval AVERROR(ENOSYS) The format does not support it + * + * @note Some formats or devices may not allow to measure dts and wall + * atomically. */ int av_get_output_timestamp(struct AVFormatContext *s, int stream, int64_t *dts, int64_t *wall); From patchwork Thu Sep 15 01:53:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 37921 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp26472pzh; Wed, 14 Sep 2022 18:54:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR67+Hf41yPM2WQBLuAwReI6614+gQNa83cXgAcMD9QpaTvdQxH50LTSsT2aMDs7qsNGqqaf X-Received: by 2002:a05:6402:538f:b0:444:c17b:1665 with SMTP id ew15-20020a056402538f00b00444c17b1665mr33176216edb.98.1663206846264; Wed, 14 Sep 2022 18:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663206846; cv=none; d=google.com; s=arc-20160816; b=ugCARJEQFB76q82p8JbsGA9GtbCSl4dp/8MDNszBGVsuZFm4MyQdRbzYqYqYTffie0 8QPVQfRMFLVXIGba9CchBoh6tDCmynlMcXThmBPdWotNRERJiY5o21QdTtnaSdXINL8Y iCfFBCoaqI8Gmt597wVL+EQvgTQ7Hob8vVy4x7pDD+Y65Prd9rpg3uf/MLCJVmMPOQ5I rv7Z1SN3fjkKl7PEDoNnelWPiIO8TMyeVN9R+EHqyPLAVVu3gRKLtGI7Ygg9JdpN3+M4 lOSRdwIaSzimWkQUfufPuPfCjJqJyYS4ee69GMdvoxbyH09DNfku0uUmP//sqlRZCGBv ENTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=4fIHOBMMI3yciqRtvo9A/Du/Y9faWwlxOTNZ5Eic2og=; b=X98ljZRBtSAvzDXnP5U/3lph/ESPgl2mEzOrfavp60O5Iqxpy931iG3vGk/5T3Fq0b 2/QQyrqUm/cNKYDEZBnTLiTLCG9SjLQ/x+tZ/PS37eVd+PuYreO3RbGUdabHqCJbrQGy DuLtaCUz6ISyZJ1/CRC/OAMcs6oG0I1dGUwXFjJk77bI71QNb3NfiJtErHPORJYEpJRw uTxtPHqgOg0dLaQDGNMDMalkRb2zBQs8KK/NAL0RagzwirQj0wYQjBIlor79YqGh+bWp bK1OtmO3NDZJ+YsQS7ePzvQpn6lamlln51/IuCX984uIqoFq7Q3KGeR3xgocojhWRC9/ QL/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=dsjjYRLi; 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=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id sg36-20020a170907a42400b0077ff5540458si3192093ejc.68.2022.09.14.18.54.05; Wed, 14 Sep 2022 18:54:06 -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=@gmail.com header.s=20210112 header.b=dsjjYRLi; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 543C268BB4B; Thu, 15 Sep 2022 04:53:35 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DC87668BB0D for ; Thu, 15 Sep 2022 04:53:26 +0300 (EEST) Received: by mail-wm1-f47.google.com with SMTP id l8so7510672wmi.2 for ; Wed, 14 Sep 2022 18:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=SRDPytaEpJ62ckNumnnAZaGeN93U0ZaaPHrbT6XUi9o=; b=dsjjYRLilI8/5piT9H/N6+t2hY2WXqjCoRNM0Z4a4LKK8uYDq84b9GF80BkxwnGhiz nENe8gUDEmmASVEOnOt/v+ssLFMwgrP9mwdvSJEPozpxGRaP9k13VrnMbLXh8ZxokvPL IKOo7a2/5nigQV0vL+LM2vtJIR/LXbQjRj9aHgYOPpXcAxTvvQPwn2Wg6Bp8nHg+4fsU idCttoKyIXnSt34Lbp49xa80+aB1t2cRzruKgdyEbvO+q4+lmK3JB6zhsYIJN6PbLhzq ppP+ZIi18D3qpVDvrYK6YJku0BWgzl47/26Y6mmSa9rNJT8qNThKGWDw3tBx9SmivcqW S4BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=SRDPytaEpJ62ckNumnnAZaGeN93U0ZaaPHrbT6XUi9o=; b=WKrfScPxa9gg2UBjIpQ4h9+bXDaYzuh/8vkQMR8r/R4WRGQKSg8d3WGu3KjqV/6E1k mddXiowvWERgczBXN4KYbZWsdrzWHp40DyesOroqGv/hd6SN2S0hLFyuiVQ4Y3kTP95r 96FhIQ9oYhCnNfnDztJ/bsPvuE+XjGP12Qmgvb/IbDkruyhzof0zZ4qdwyuGBQBNSo+s gun2LAShqcXgIWGjok12z4VGNBKFJPbc3B/VeIcoQdEgVkcyIYIgMeNZ+S3UobGp6hK8 8AAtMpBFFwB1VW5RWfccBmjAbJCdjb0/h8XJLmas72TeAChKfsO41sDZAXCtgXzM1QIz 6mkQ== X-Gm-Message-State: ACgBeo28LwkNMZNFQVwMTWlG+eNKPA505xcxtdgBB2l8Dwr9M4vehJGn e5rsyg6labO7ELwY0Q2CN1NR3gEj6c9uHA== X-Received: by 2002:a05:600c:21c4:b0:3b4:9668:d3d5 with SMTP id x4-20020a05600c21c400b003b49668d3d5mr4939180wmj.155.1663206806205; Wed, 14 Sep 2022 18:53:26 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id x4-20020adfec04000000b002253604bbefsm823633wrn.75.2022.09.14.18.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 18:53:25 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 15 Sep 2022 03:53:01 +0200 Message-Id: <20220915015301.34744-7-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220915015301.34744-4-epirat07@gmail.com> References: <20220915015301.34744-4-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 7/7] avcodec/avcodec: Escape Doxygen reference 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: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: jqk+883rPsCW The # is interpreted as explicit reference request by Doxygen which is not desired here. Additionally use a typewriter font to make the inline code easier to distinguish. --- libavcodec/avcodec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 665a5eadaf..f0904520b1 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1518,7 +1518,7 @@ typedef struct AVCodecContext { * libavcodec will behave as if this field was always set to 1. * Callers that want to be forward compatible with future libavcodec * versions should wrap access to this field in - * #if LIBAVCODEC_VERSION_MAJOR < 60 + * \#if LIBAVCODEC_VERSION_MAJOR < 60 */ attribute_deprecated int thread_safe_callbacks;