From patchwork Thu Sep 22 02:03:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 38140 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp387pzh; Wed, 21 Sep 2022 19:04:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6OZkF8zhLG/7Un/T085oTEox2NpOV+ogt3tNiHbW9weNxWdVNqSm4p0LIm+uPwgZTBzPBw X-Received: by 2002:a05:6402:493:b0:445:b5f0:7a0f with SMTP id k19-20020a056402049300b00445b5f07a0fmr941911edv.120.1663812274889; Wed, 21 Sep 2022 19:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663812274; cv=none; d=google.com; s=arc-20160816; b=yWr8Rj0+zyuqQe39e2k8dpozy4PDUjCSodVFmPL7AiDs6CX9bfjrcmd7vFvLF093AB +LdNRuX52tBT9D6ghuhMUw8odN5cHkbRxvMS9HJTaMGsPLU2yxqvdjTJFoIHkLgYUvAN yxo3v7LBEcmnNRX3C6jO+UUMqaU2PmGpv+7tOYMMFA2e6UC40ExpTcvOgYEhQwIfoQ+w f39TkUExaSzYaJaPJa0RyysPeotXDokpnA11Jx6Y7qQKK4cJbb2W/gXuTG3NuQKwXtc1 RHnk3fvW7+7/8Hix/Oqj0yt1s/fUOYdo1yYtf43g9CtXT29LcffzbTiKZopiotkepbl2 tr8g== 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=ta/6ZRbaJ6s+xLzOK/fcGuT9hGMvvUjszDhztgWhbpg=; b=I9UzXfL28fuwYeQ89h1GDaS6FBXF8c+qV45HS1AGZR4Fxy7qX6iIXL0YHXPWFktyco Zn+UmqGVzroJrUy4JkAtSto7BKCuIcvw9YULVtkIg3NgiZbmG4KC3stydXOKaPe5Qfje hew1Rk2pwXzXNKKrMuOhS9FkgraI31/Hh85qEtUod5dR6b1FfA+eWSeZmaroxLvv2z9z +WbMOuKimVWPvozDazDabcI5cbKGgi/VVbzUwQio+HCIwZ5RWCyAATimA4FIhSbVu/Ri MsPPDZnijffzCz4nBbf24jyhf1wshvHQ4q6l/D9FClPOtDOk6sauhGEt+zpw9SLU99mN Oc1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=LkfyLFCu; 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 ju20-20020a17090798b400b0073064d1c27bsi3329924ejc.500.2022.09.21.19.04.13; Wed, 21 Sep 2022 19:04:34 -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=LkfyLFCu; 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 100B168BB5D; Thu, 22 Sep 2022 05:04:11 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0D0ED68B1CE for ; Thu, 22 Sep 2022 05:04:05 +0300 (EEST) Received: by mail-ej1-f44.google.com with SMTP id a26so17896457ejc.4 for ; Wed, 21 Sep 2022 19:04:05 -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=v+NSMw6xX5a4sfa3/acoCsx0Bj/ADZqh+65zJEWdg0g=; b=LkfyLFCuYgALCLg9X8jrKNWd+IlLWS+ONX8zPZ0JzEVVipIH64j1/t4lpJ65Iw0B15 oS/OCJJYzoDG6tN0+tXxL7fplRhrSmUxC/RtpvGwXGw22+aOCHUXMjS9ECCtKucYe04L hCrBfExj3zRPt6I5bmL6dxs+n8Z03V42HDNZsGkeVmrXUimRs48fBv2szxWQVOMMU/VU NrrYOfhc/E2VoBetIfFO0KQeZ89I47ads2jkHjXrIWvrrVXbnbV3nrOT+rDHsFqKdpfx bXagPg7n05g797aggV8R8lLnPwaFWRQ62NdMSl5KB4etI2WbEc2eQwHJKy1JBQ4LyADD HXwg== 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=v+NSMw6xX5a4sfa3/acoCsx0Bj/ADZqh+65zJEWdg0g=; b=dJn7xZjkC+SiPsXRV6XVh7rhFB/gvdEzgcRyft8ZD9kFpsy6nIQzvh8N3qfhFegLKH zYVzZWBxE6gn1eNglYUUHeowPWOp4LysJr46A2Kvu0n2NgWo1XJ+fN+C35N5P6poPyXl pgyKe7NCd3doZFPfmARFsCdXCVz4Pk3X7nAJtbZU9Qzz84l1s3H4Qf6HaLP9Ul3bF3mx hpmD9Vorf0kVzexHznAYNxuXPmHTIcfsfjbrkoa3GM82RNhjeEuF0ACdnFuYbTmlSSpM /GdPet8D9Y7dReS7hi+WCO3FhXYC8cdvp6fRCcwyKLIgmnTDxQAOfoDfQyVhapL0iQB2 S8RA== X-Gm-Message-State: ACrzQf0il//FnI3G5G48Lh4anWhWp5EgrLEAFG8ZrYBbBikSsmNMobGG 7PLowqOakK24YAdg0OTKDNv8Z62AKiw= X-Received: by 2002:a17:907:75c5:b0:77a:fd9f:12d1 with SMTP id jl5-20020a17090775c500b0077afd9f12d1mr901480ejc.82.1663812244344; Wed, 21 Sep 2022 19:04: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 b10-20020aa7df8a000000b0044e01e2533asm2836847edy.43.2022.09.21.19.04.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 19:04:04 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 22 Sep 2022 04:03:54 +0200 Message-Id: <20220922020400.46715-1-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 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: joehRsjcNid5 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 22 02:03:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 38141 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp389pzh; Wed, 21 Sep 2022 19:04:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6zs/euB5Xbu11Ht+AYdno9LDG6yDdx3R3TRG5Dr//JgHESPkQoTpglEkoKXYnSv0Yl6Xkm X-Received: by 2002:a17:907:2c4f:b0:77e:507:c8a5 with SMTP id hf15-20020a1709072c4f00b0077e0507c8a5mr938060ejc.268.1663812274973; Wed, 21 Sep 2022 19:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663812274; cv=none; d=google.com; s=arc-20160816; b=cMgUupykaI/CxuIw5ZQAVeqsBgWxCg9UlqNBcAHpd715+fRZIFB1bglHw7eDPbkxJW gVnEscPjcbGSDWzYVZJMk4sLe0gn3SqfAcIdqIqTYRl/9d8CSxZVJcXtDnnjt6KQIqTV 6LqikU3f2zntEdjDIV/wJfWG3e5Ez72f6MUui6M07Hj0o810X5qQUHG1DNeNiMiVAIi5 fw/UOGbYqG5VnoPjENCb0DOxZwfPE8D3UIm50bW53TsEEle3SDSq194VRP8czTRp0ICw 9BCd+C19bRJuXWv/CONR4MxqyjiP3pv/IkkCa9jCfFktZrGdb5Dk6loPzpMSUr2mtkGB p9fg== 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=P+sekmmm7yqcEBPnrOdn+iN5eDDZr++SnwCnLoIK3OxW09Nh2AsjcyX5YlJFbIqkDE cTI4nJkjowVIXtERHadG2tB20zf39j0V8R01vDP/ZXDolN6xt2TxT2tFepfFJeAQbbQG xPGnTB9zCmJ4hBrVqHElm27narCP6bJ0q4p1n4lmjN4m/mZJIX9UF4Oh7yfsrze1SVpd WOCcectxu/2o2uVXh2zaTBfNM2n3IYbigrYoBAAPwBsAubZ931bsLMaeB3rALSuM4F4L H3DIbrp42GhDn4nQgdxGay+tzq2R9a12r0bodQKY3sTFVvIA894keyoRhjg2rDILq4e5 ccvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=jalkbiFb; 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 w10-20020aa7d28a000000b00452acd393c5si3569603edq.293.2022.09.21.19.04.22; Wed, 21 Sep 2022 19:04:34 -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=jalkbiFb; 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 E8F1168BB82; Thu, 22 Sep 2022 05:04:11 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9A20868B6D3 for ; Thu, 22 Sep 2022 05:04:05 +0300 (EEST) Received: by mail-ed1-f41.google.com with SMTP id e17so11511070edc.5 for ; Wed, 21 Sep 2022 19:04:05 -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=jalkbiFbuEwbS+4WS1lVwjk+06M1ZQlhrbrV6Tl+SBkQviR8hX5VffveHaLiZZUfR0 OOMdEQZfl+q0YdwkJiP/wOwvM19yCl71kBPWi5cgiDSdINCEpt0vVxggblPUPxjIW8/N 1o0RbN+f1uiWJkpYyt1ID31spabtCAZfOiNj0o2GZhgFn6cxgufPyssvDh4GlBE1Nwed EYOFh+dG38lOR33o2UbCxd6Dc4ob6EGQR0uVOS2MAR587rCPwiHv9oH/FDYZA59izngY PNLxXw36lLQKONQ2fxKfmyj9kjaxwzQn9W/JdgZCG5fcMDp4ONqX3t8JdDHUXdzvcHFC u7RQ== 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=MjZCgAD+kTetxfIY0JI5LH51AUDsP6FJFGojkua0eShBmOhAOOTA76W9nDAj8Eq4C8 hc6ydr/NyEjU7ZgBdi0AlLz65SHrdoSCNrfinqBbHozcETFu3ZlmV9i/bjeUXu91XjvV yPFXS5H+OkXZjXPoAWX68CH5e/DEn0+gvhHiWixKO09Djzb23SRHlGkk8rZLpdH+2AGQ zMvfv/vfkwFmL7IyK9q6Mh7I6c/O8Gw0bG+SGbwVfLp5aP7bwUhomDGTxcXh5M4rWMkk llSlRhirmVX4Qo8C1NN/MP5Fz1bq8zGpibtg1pVRgBbT9bgjbAy9PY71eQKOEKxwaTV8 cckA== X-Gm-Message-State: ACrzQf1B6AZtW+3rJi6sKOIGDvN1O2peVd7A6yJIuDfjOvKjjYRtgbJM Tye6npzlKjyHj2Qj5Ds9qMoD+hQ5TYE= X-Received: by 2002:aa7:d3d3:0:b0:44e:baab:54d9 with SMTP id o19-20020aa7d3d3000000b0044ebaab54d9mr922640edr.43.1663812245116; Wed, 21 Sep 2022 19:04:05 -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 b10-20020aa7df8a000000b0044e01e2533asm2836847edy.43.2022.09.21.19.04.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 19:04:04 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 22 Sep 2022 04:03:55 +0200 Message-Id: <20220922020400.46715-2-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220922020400.46715-1-epirat07@gmail.com> References: <20220922020400.46715-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 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: kl1yNYbfJ7BC --- 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 22 02:03:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 38142 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp395pzh; Wed, 21 Sep 2022 19:04:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4s2hGzlkEPX++Ml1ikMQqUgSbs0+zXWEMiAl69d/5oxvEl7mcBy2OIN4L/pnEVpkmK+aKJ X-Received: by 2002:a05:6402:26d3:b0:451:6ca9:bc5e with SMTP id x19-20020a05640226d300b004516ca9bc5emr900372edd.325.1663812275609; Wed, 21 Sep 2022 19:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663812275; cv=none; d=google.com; s=arc-20160816; b=il8P/bxn19GP5D/2skbHJs80RrnUTgM6tzCNsFpz0VfJq8xhgwBJLfz2raQUjL7ctF IFu8sLr2Gt1Gh0mEJuQm1ui+801UoHnQX1g2TrkWQotoAQStVYQfVqRbqlTlFizRGUjM QyOkhNw6c1x2GCww0Ppy0bSD2jNMKp7mJk9WvbBwqF9jamzNE0+hxyzEU6MgFPO9Vi9I kqZMo03H0IzaJS54fDudm9j7HDaFtyVnYs7NF5bbddIqNBzcAh6BnA9PyTj9s2oNOBDX Z4b4/9fsKnfaGOYFF2uHSIPfjRHXfGuOfeohol3knXwxPTie2jCTjmYOsqkTdiA2MXCh b9gA== 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=mWlIn6N9fLPNQ5D0v9OUmUEhUl5NAwGDT6je10ICShww7HvZzPDERAPHDvkynZUtfV HM7tFkqmcjQZ4/xdrdZqtNWLmVacSjwd0jfr/puP5aWqUiv7SokJDvEiboI3Lqp2QiB4 sPRrkHxF2U88fqIglhSCpz6z35fRY51jMGEm3lbGyuC/uzolYlkf+2yu0msUtaHWDx3h SrPr2pKjHdElgkFBlbbs59jojv2UhSFTgWoJbDvuGSM4INAaxHe71odHyskZaq82MvIK sgM8C6bCu3gIjwbQolCZrGXE1r83b7dLaahvk/w5ibkGvhjUnMY6B5Q3lrmJv8CAOJkV RXJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=Ez6x4B95; 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 l14-20020a170906938e00b0077cfec3a52fsi3253018ejx.839.2022.09.21.19.04.31; Wed, 21 Sep 2022 19:04:35 -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=Ez6x4B95; 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 C3F4168BB88; Thu, 22 Sep 2022 05:04:12 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 717F168BB63 for ; Thu, 22 Sep 2022 05:04:06 +0300 (EEST) Received: by mail-ej1-f43.google.com with SMTP id lh5so17827655ejb.10 for ; Wed, 21 Sep 2022 19:04:06 -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=Ez6x4B95Ne/WV2FERkMjP+GvMn+d+tfUaJSUz4odVygDUTj1KMUmmSmP7xLDydW2Fs 2Lv5CHTO9GS9bTQE0Cco+MHVvVRYW5t8Svzihgp/JBAryGBrdmDUQFvtic2GRvW1VkWt k21ABYeE4KVfl1AhrD9ZS2o6iuA36twVEsdfWFR8hkm18x9/uJkB46zPR031+ZdgR0tB oQfNLVEtdyfC/Uqx/Pbw8diy08y3GKJHOV/YonpAejnqX2xs6WltWuYMuqmMpo9/pnp9 bZa+YnOJPf64mwdd5HWo3hi7gr6tVA0mUaNS7p+wJhYkJXxE/N7IcDHSjp/qguyU2LUg UMKw== 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=OGYd2yBR1PauIhzBif23gCBCRxFWQC88ZuofV2o2uBzG6oveMg2x4vjLAnO0jzqoJm 1w+K8kVkB1ikfZ5WWLK7qXTLt9FUaI2a1F4IX91pUXjKPmLBm8GM4R4hDKtRIc909wJH DX4TmM4Se0m4J+dZqr74VchY3Yzyn18Xjt8omOGqv77oUSnJcuuv/y7GFkM2t5dUbN2E gn+lrpF520Md3PECX5vFZvcOvbGHCZxFNQWo/fgP72P/EREbJQ9Mp/Uu4SGJpKvLcVZ1 5x1676Hb5xHg2EOeIT6K/dl9Hc8wiwhqvllpuFNortXZdoKCr4n0X++lWjYHBS5iArlN TKQg== X-Gm-Message-State: ACrzQf32IhqkW65f8IsWBXsB1oT6ZH91pbVlykeWDnmPDVp+IPEkn1HA 7ftJ/GmYkGBBzcuZG6YLE8J+d7wrywk= X-Received: by 2002:a17:907:72d1:b0:781:bb32:7422 with SMTP id du17-20020a17090772d100b00781bb327422mr891705ejc.729.1663812245932; Wed, 21 Sep 2022 19:04:05 -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 b10-20020aa7df8a000000b0044e01e2533asm2836847edy.43.2022.09.21.19.04.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 19:04:05 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 22 Sep 2022 04:03:56 +0200 Message-Id: <20220922020400.46715-3-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220922020400.46715-1-epirat07@gmail.com> References: <20220922020400.46715-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 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: 9v28lsQNaBNl --- 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 22 02:03:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 38145 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1411pzh; Wed, 21 Sep 2022 19:06:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6tAc2NrqFV3kXIMcAsDuLYA1I7xU5VUN0O4TL/DwNPeaqUs52emeXI/itH5DBN6gthb6HQ X-Received: by 2002:a17:907:16a5:b0:77c:e0f0:1f25 with SMTP id hc37-20020a17090716a500b0077ce0f01f25mr853718ejc.217.1663812282374; Wed, 21 Sep 2022 19:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663812282; cv=none; d=google.com; s=arc-20160816; b=oSicUwCfJAhZJDmlq3h0neCb0/PuVUY0BzhhyK0ZoRcDj0nxH/7ogd9Ec88t29VUsl dBe3Z8CLlBSb9G4X1YsfC27qDOxDkEFKNYho6IhJC43ZGUL2ZjqcXk6En0UFuJcp8ZW4 ZxZYr4AS0KllWJwRo3lwuF75GRuq02tksBX7ghRbQsApV6E3pD8yOO0BReu56RmV6DKw QTi5vdosFstYKD7+SORplUexKE9us+lUHV/nf/wjsoyQxtQKQPW2+MtzRLrgstMMuh7X 9E8c0Z5s5ExMctohCTN0Iq1CKlTC28iLF4/FOwkvuI8myk6O3UiO3ngeavjx/lNaVV8D v3kw== 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=df/UdaQ+8foHMnrPRdwILw0IBpzf4XCX1CBOTnGzCVY=; b=t4i0PeuLTlzfytg7rjzH0ys/sTPIbekGqRTx9xJuSHo+2ZcaZ8ibqXZbQ9edEaHNFG 76KyR3/6xTsshbyswWCQ3hvTywlOV8qeUmDngwtSoPR1Vh/u+QUHE1IlkHJG08vd+Sl0 RwJW+WS+5WAzsAkS0qfn1HEFjpviSVMe/eWj9wSclKLYDMf3zHHLQ6GpaX2OPiXr3gMs lEv8281ph+SIRx3rLNchNt7xjyTLHaPekfULtY2vxg3mK25zaaeBA2GispFf5zyJQWQc ALOivzAb1Et8XVFjWhAxzMPKu8gLX73m9CKH/AqtoQYoCz16mlps3rXEda4umQVCifdu XB1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=qsqRMlyB; 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 u12-20020a50c04c000000b0044e3cb19d70si4033988edd.271.2022.09.21.19.04.41; Wed, 21 Sep 2022 19:04:42 -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=qsqRMlyB; 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 CBBA068BB96; Thu, 22 Sep 2022 05:04:14 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 277FC68BB83 for ; Thu, 22 Sep 2022 05:04:07 +0300 (EEST) Received: by mail-ej1-f48.google.com with SMTP id u9so17911799ejy.5 for ; Wed, 21 Sep 2022 19:04:07 -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=WqWBHUiNeF1sI/YS0gsrcaVAre7eHUBA4xaJM7qBGXY=; b=qsqRMlyBUjiPrhKsmenbC3WtLu7mRe8+dowYnvLJ471lqBAVylEEfrrFoKeBul+vzc fupKhddrcp5oWqdrg+WOqXLhGs91Fpoy+IvRz7pFI8IN+pq7waOEVdxwD536huCnAa+s Zh3UwmRBVBV/ITlV/PbACPsJcXs0c7+FGBZb4F3xgTtyft5Wy+TE2u6gclO1hHg8j9WI 8WtD929Fr8Ei6Tge7R5MpZO23u5Y3i1qXaH/nlW1eiANh4F7OZOXtNZ7eoafhiZPRiis bOtr9ydXa9d+LWqid7EYrqT8u3aW9hvqiq2ykkY6LORHqTkwY+zsZTLDBIsf25Zf1GUg sVMA== 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=WqWBHUiNeF1sI/YS0gsrcaVAre7eHUBA4xaJM7qBGXY=; b=Jjks10zsT0tvc7H7GnJKxsk2dp/FxI6qMpNVJAlXwoeh1D7/8O9sMydE8iUq1hMP2j AHtgt89rKc53/AHWykZIm0Mr3BlcijfXDmHljurDArgAWP+5CAza8mklm0S+yx08V01K 9Kxsxbo1Ep/q52efenM04d5TS917uhDB2RJd1k2rARzOR4n0PDxhX16fb9e98QvHa9Fw qciDI4ncE9xVPPnLAtHk9qzCoTPuobnKxcqLTFcer4ngzxlwoB0H09wS+4PxF/Qef1rw Q9Gy2wBICJlXgEItN03NcS2Gqex+yVuoByhyjOnSc/81oPArlzV+3swJ0/+UP0RPEjTN hIKw== X-Gm-Message-State: ACrzQf3604FxPgfS9rGYX9ZlnutQpkK3uu7ElTDeTCvSTXJzRi2uJ7mm feXLKENgfRJYqRkGxofdWJdD7IebF9Y= X-Received: by 2002:a17:907:1df1:b0:779:4f57:6bb2 with SMTP id og49-20020a1709071df100b007794f576bb2mr874867ejc.407.1663812246633; Wed, 21 Sep 2022 19:04:06 -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 b10-20020aa7df8a000000b0044e01e2533asm2836847edy.43.2022.09.21.19.04.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 19:04:06 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 22 Sep 2022 04:03:57 +0200 Message-Id: <20220922020400.46715-4-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220922020400.46715-1-epirat07@gmail.com> References: <20220922020400.46715-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 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: RX80JDJZ5XGR --- 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 22 02:03: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: 38146 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1558pzh; Wed, 21 Sep 2022 19:07:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5fFof91W3xGvWPPT8nGXIZyca93BwgyZ2qDQ4NtR8Qn6+dPF3khZA/cndNgLyr4EVAqIZJ X-Received: by 2002:aa7:cc8a:0:b0:446:7668:2969 with SMTP id p10-20020aa7cc8a000000b0044676682969mr959325edt.206.1663812290967; Wed, 21 Sep 2022 19:04:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663812290; cv=none; d=google.com; s=arc-20160816; b=ou+9dAKH8m3Ms2C+DxyLALxg5H1BEyAsn3Z8HDOdqoW+CzzAkF9SJJIEH7MWLlvSI0 gmJ0yfkgIKDN69XcMkhSUPV+Gh1y1pHGeEC5rCb3gvHfpdWq+GNi/cfnqcRqE7wWZr/I +STk43dBwezUmCIkfFAuvfaTwfQLXIszeNeJuTsuGxQLLy4w/thOYuC8uL9QFlDOSJEn Yg/M+fz2TUOtyQcq1sajKc1avXVtVqW0FG+M5QQ8IhcJuHtjy6uYYFu/rorktcNHvM9U RpZ1oRDV8zulP+AwnEXl7GimNkQ1IbrpG3DLL5qtGnVX2gKlSx8ygMPmLqZPkEz4Xf5e cb+g== 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=je+tQ61HmASZP1NHCVdO22g2wCuWVBE51uataUN+Vvg=; b=oumSYHEF3joFwd8JihZz1JzxgvaFfZcPypNCC+mG9L2iQqNUk1jG7Yty63qQLu6hwU 58sWJEAEoKCPYqiHFKma4pBWTznoKEscWwynjCDMN70n5QhGnPC8yjAMv62GXDArpwLg 5UlJRtLeuOjCBVdIIedQsMf5URFczZItIWO5XXWv3JoI1sqqpKrhgVNN26oq/ounw/kV FeMmR07T9aVlj5zjUxsn5XDtSQlBw65ZV4CUBfMxtAC+zHg7fgXcn3xLB4t0VP5kKEAT kL7GgT4wP+dZy11XGMf9mDEr5ra37GSnKwbJg4Tsz/4r8p+lfmomcXe15rav47GqvZsF B0PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b="ZlLp/QxF"; 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 he36-20020a1709073da400b00780b9f1d14asi4233058ejc.663.2022.09.21.19.04.50; Wed, 21 Sep 2022 19:04:50 -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="ZlLp/QxF"; 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 952B468BB64; Thu, 22 Sep 2022 05:04:15 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E850768BB8A for ; Thu, 22 Sep 2022 05:04:07 +0300 (EEST) Received: by mail-ed1-f43.google.com with SMTP id z13so11437382edb.13 for ; Wed, 21 Sep 2022 19:04:07 -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=rKwK6ztN1vrHpDVyVxriUP5hwMHKz/MbaF7S/7fKuJY=; b=ZlLp/QxFmHJYhNa+T0qRxFuOzyMyZoVgsuI5Wp3O5N7nr8DhLeO09uSNdquBuxuL4O pDYQiueeGVRnV2iE05fYDgJj116lyZrwGcs+IUd2uNvtX4HQETZ/3/uRb2jrAto4Lw3Y 1xei2H6ACX1iqiLAOQWNPzpcH3dBXjtgNzCGWS5GMz48CJcd7nOB0iCw1yQgpyc5Ydih MSAEeRpefvA/hm74flqp2HXlCk7sOWN/arukdFJfo8+gzbrhYi9oC+NAm5iH9Sy/gKLI sMXy1X7/g4avu4eSJ9sq75Jd4QUuR/B4MZmZpIFgvSMgMPhpyS/+M1eYcSH+uf2Wg5+w 9Lsw== 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=rKwK6ztN1vrHpDVyVxriUP5hwMHKz/MbaF7S/7fKuJY=; b=eRRZU8Ab2AJAmW+3BNhwYZ3/74LHQZuZfpDg+Ax1CGRzVqNQON/ssF9Rwui/Ro+JK1 gsyvRDdVcRu8q+ECXo3T4jMv+y4jdl0KyPilPQ1LUGVzjrs3sc+YfIM8S09rYkp/GyYs gHViC22KMlafrv7cje8naO+dx2OIMHoK2GZUkqCH/fNImuwMjZ+eRvDylm2gSNvr10ik baAgcxv7mLOWw9wyQLvrxcxamc3QxOLQYnRirhuJ7oZudQi98I1aJN5nyTUknKC4tWHQ 3QfG45h/A7O5y1jaVu1CxjO7WBvUX+/rLo7iiVYLLVDLr+7aRaXsrsJnYD8WQ/pPq6ee FqLQ== X-Gm-Message-State: ACrzQf0sBNidqRYIfsFP/58g9vbGtNy4vCsd1lZrq7bIab6g0lDTlaYz vBJK2YiI7skq7juCUvmL2zI29EoJ+Ks= X-Received: by 2002:aa7:cd49:0:b0:451:e570:8a82 with SMTP id v9-20020aa7cd49000000b00451e5708a82mr901977edw.369.1663812247443; Wed, 21 Sep 2022 19:04:07 -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 b10-20020aa7df8a000000b0044e01e2533asm2836847edy.43.2022.09.21.19.04.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 19:04:07 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 22 Sep 2022 04:03:58 +0200 Message-Id: <20220922020400.46715-5-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220922020400.46715-1-epirat07@gmail.com> References: <20220922020400.46715-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 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: oXtVKb7yuPrl --- libswresample/swresample.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libswresample/swresample.h b/libswresample/swresample.h index 980be65783..4c26468c63 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 out output AVFrame + * @param in input AVFrame * @return 0 on success, AVERROR on failure. */ int swr_config_frame(SwrContext *swr, const AVFrame *out, const AVFrame *in); From patchwork Thu Sep 22 02:03: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: 38143 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp657pzh; Wed, 21 Sep 2022 19:05:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6kAQ4qhcidFbrOtQr+Oh3tvmPVUt4QeAGFWYedZQ6JBIVEMEbZ/5z44WOIVCooT+2gyBAh X-Received: by 2002:a17:906:6a0b:b0:77d:2f20:69db with SMTP id qw11-20020a1709066a0b00b0077d2f2069dbmr849168ejc.572.1663812306857; Wed, 21 Sep 2022 19:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663812306; cv=none; d=google.com; s=arc-20160816; b=cbWNoIjNPG1UdDYnIXygN4wwIR/ZLQWaP9D/6+lrq5P6xAgw+sEjmnKPZSdN5GJkWR GSiL1rBqDJhmpN+C+kKZQT5fYD9G/zlcBFmGTTNyzVgjCsV4zD1zUArCKHKweC3YrYxr jbdl5A21udRlWjn6FDoZYuu9NV0mGuwmC50oRFoAbpD1CxKKxscBZaX5Kg2q9WrEy3wV yGEHkM7dHDztGRAAs85lc8mRN3q9n1W5sX8j3PTJ+dt0fKNDlV/cFy5XfNlPmZ65+94+ 8gDaaVT7/2c0/ZvGChryzQe21kTbiBFGe5Ou4PRxUDWlKxKaUOg+Mt4eH4MoqRk6XTGl rjOg== 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=C2EzBpH2Cfd4jE1iHMMiZs8Ez5Z5YKpYWyduCUwVQeM9XGwXLiWPTX690woN9qoDgE a1q6H+VQj07MbVwgo8gUWzLcWVo5b5uA/DIo1L6XVfOU2j7QJWV740bZctaysXiyTOPQ +m+c26rssxeqkR2wG8IHJq7yIB6GAyxZ9mWZHIitAKV3RpjyBSsOeN/Jx1TlFTnP7oWK piGQEGf4GurLm1up83aPCUYkS5wTdqs6mQn6X6DLcmjLA9C4v0s5MZ3uODkUBI/XkwMW Py/SdgU5yzAhIPvO2QjHGWTjPbt1TbA1U0NJq4Jk8BM82Ol3m153pjLWnoNiSILexn+2 oQDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=eh8ueiJf; 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 o8-20020a170906974800b0073dda1430b9si4483833ejy.403.2022.09.21.19.04.59; Wed, 21 Sep 2022 19:05: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=eh8ueiJf; 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 74F6F68BBA3; Thu, 22 Sep 2022 05:04:17 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E08B768B1CE for ; Thu, 22 Sep 2022 05:04:08 +0300 (EEST) Received: by mail-ej1-f52.google.com with SMTP id lh5so17827880ejb.10 for ; Wed, 21 Sep 2022 19:04:08 -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=eh8ueiJflSUDHGuG/GgHskH4lc8yOsFNWKMpIOntRKFwOxdehOgPlyecmBZprrBKUn zDslY/SuLZDwB4EoI6XutVuOvM9F2nDbW7/oLf1W0ueWopdvjKjaeOuvwBLQacCDpg8h rprS35b8aAwKqb5HVo9y6Cqc//+CKE/MNZl43pbtUqfzWSTwwTVeRQos/RUf+GPK8bjo hoH7LGOv/J/L0VPjrKDilrD+o9or2SKcobY7mAegG11aoew4dhaCwhDqy92X7HT3Bj3o /wPMjNqZR3GmCmYHoJGY8+y/xish1ufsdEEOUoVWyUMsCU5ahHGUxcbLr9JD5mvA3cxS f1Pw== 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=VvxVy6ek1vLLjTA6UrdwYaDKcu4Xa/oETru7IBqB+cwazPPHBHXpkqwoGwMe3nyCDp dwjosn/c/wQWZoRdv9L+x5EU7YpD010yNzN3CyUdHWo9iSQPxzCVs+82YXUcakWhv0pQ /4gtAIVv0qh99tV6zYM1d8h4lev4b8AdY5oA9QRaH87ivMY/jeauscGpMlh+zD8K5bPe FwDu/E0hzBO8yv80hgZ7TkJJl0JDsWx6GCXmnbqQEfNoV6U9K1xCUgOrGK73+wd9QCm6 Bedeb3C/a282tJoPAFfjxFRxp49PBBHQlZuCzwJd8ubJZyai7My7yGH2IVfT7oJLrYdd 9jiQ== X-Gm-Message-State: ACrzQf1hxic7+ablAsECsapqy9D7WNOMEGsd6afU1io5e/uqNu6Eajkq YfLYqjc146WyvTO+fEkXkpvThJcz/KQ= X-Received: by 2002:a17:906:dac8:b0:741:545b:796a with SMTP id xi8-20020a170906dac800b00741545b796amr891706ejb.240.1663812248226; Wed, 21 Sep 2022 19:04:08 -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 b10-20020aa7df8a000000b0044e01e2533asm2836847edy.43.2022.09.21.19.04.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 19:04:07 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 22 Sep 2022 04:03:59 +0200 Message-Id: <20220922020400.46715-6-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220922020400.46715-1-epirat07@gmail.com> References: <20220922020400.46715-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 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: +osts92BLFk3 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 22 02:04: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: 38144 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp764pzh; Wed, 21 Sep 2022 19:05:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM59dqyDcPjxj2mGt/iNOn8BdPvSiTOHPx9XMHQ60Q/W3hnWi1uwzuE0kXiqeNtuFObwfNqn X-Received: by 2002:a17:907:7b93:b0:770:1d4f:4de9 with SMTP id ne19-20020a1709077b9300b007701d4f4de9mr883388ejc.201.1663812321688; Wed, 21 Sep 2022 19:05:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663812321; cv=none; d=google.com; s=arc-20160816; b=k7WwJZUQVmosT5msZpccYb+po2HadfXmE30TwHmdKsyO2bimgkzT2DLZFDZ7Ya1tvO gi0nZ88mDqG3d/dj8HuEMfzCcVwlDL19mOpO3RZ2YnFLLJ7iZIRu+PzAwo6f+IvVMuzA lJMwnu2yAcMBCzHVK1OKuqWKF3jIi4onY8t3mipwHdyrUClzj/KX3I12lN7fB2uawnvB we7filiBJgFF29tuW5rPPg4jTr74ZTnsl2/rCNxxmFtHDaj6xKMyVhCXXBsdY3N8nuMN NAYv3A0NAjnMY9mHyPUHgQnnT1G0knnm0FinTR/d7RW5MYL/HcX97T3XIJ/QRnX6T7gC 9/jQ== 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=k+NRs1QQ9xOJtvtjhy4nlQVb9VWQy75TjvdA1mnJ9q5enWifcKXVJUmmVrIl7/BZc3 TieTDa/xMCbQsxEQlAJT8jEoOdB1cRnlDAcLbPKzzMxDEFVzaOGrMRe6qhNXHtc9X0tw 1CRZdwtG1+AkzJ24gVNDRNShbaz9n1K5URRx9xkupWzZ9BYQcxDL8BvSnA93bSWdeXOp pEhoKpU2CDbita3Qt1u2qweDqbrqQAzVySeXYIhvyxWcirkUScCD6O/feUcPJd3IjSG5 llCpzL79gttf7IDu1CCxX14aBY3vqkVMFx0fKCj0Bz3EWv2NTHRVxVxO0ss3oUQhIQnv syMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=KtT9E4PN; 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 dd13-20020a1709069b8d00b00781d2b87bf8si3889867ejc.186.2022.09.21.19.05.09; Wed, 21 Sep 2022 19:05:21 -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=KtT9E4PN; 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 63E2A68BB85; Thu, 22 Sep 2022 05:04:18 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5F18168BB8F for ; Thu, 22 Sep 2022 05:04:09 +0300 (EEST) Received: by mail-ej1-f42.google.com with SMTP id 13so17892419ejn.3 for ; Wed, 21 Sep 2022 19:04:09 -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=KtT9E4PNniACCbRjGz1NNghsMwvcB1kAWQau4MGm4aIXcRxwoIJs7LGbVmyvBQvVkm U/5gnIiMADu4MpD2jLW8l8c9E6KCVljYx48+hcNbrZUpnj5Avaii5lb9Sw3eriu2gztU oFgtVsj7kFZBTnbdVvrLDs9pGD2WYt++++NkJkK93CmfHiiL8IxZ2cshuUPAah9UGQyZ v4l9SOJDGAgcc1Xr6Zcl60KOedNaI28kQYKqNKhlgz4ZyQFV85njYl4B5DYRx2J8rb2T hqb+NDBU2VNHxohRTGv2A/53SEx+ts70hb8RhtjHhw6Zly7Vh8fS/yRFTAlYJRGf9+wR lw8w== 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=fOwiWsqp4bzZx8pMaI7R2nkIo5AXTUQ7OP/iVnZC8APod0H3rHA7r2I8OELXair79p 37r+++C7RQ+CTG4nwFd7Vv+1aNWosYx+gFCgK0/sxumc4tU93rEu48YfzA69WesmJlbN 3LIj/BQpaUtrNHrEjfY77TUxxsX0oLWyOe0A8/Iszp0x5C21/+OC9dl0nKMMU8Jm3PGN vI210aGUAS3fF3KiQOWq35kKZM/euhIeXG7SxiE4bNvm0dmrUfP3NeaCrMAlRJ49nZbJ w/zv+x6v8ujC4E7oRe3JtlZ90qcKxrB21h5I/3jmBrnjOJgqpt/iAbxxziSg0RZ3XP/5 TS0g== X-Gm-Message-State: ACrzQf2XR0Cxl67cuYJzgf3nwbfdcrP7PgHXATMsZE2NoqEtO3G4icLy JTT8l8PI7PTZ7OzSNVVdUH++T643vX4= X-Received: by 2002:a17:907:2bf8:b0:770:837a:e3b8 with SMTP id gv56-20020a1709072bf800b00770837ae3b8mr845349ejc.562.1663812248905; Wed, 21 Sep 2022 19:04:08 -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 b10-20020aa7df8a000000b0044e01e2533asm2836847edy.43.2022.09.21.19.04.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 19:04:08 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Thu, 22 Sep 2022 04:04:00 +0200 Message-Id: <20220922020400.46715-7-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220922020400.46715-1-epirat07@gmail.com> References: <20220922020400.46715-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 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: rSAfomcwSFlC 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;