From patchwork Sun Sep 25 00:11:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 38252 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1392122pzh; Sat, 24 Sep 2022 17:17:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7iKxPbnltzB6On4GD83lrWiH6wsxOsCTEYR3e7HLUnkxgRjSU+2MA/MJfRlYJ8I6I4O8Lv X-Received: by 2002:a17:907:7d8b:b0:782:e9ed:88d7 with SMTP id oz11-20020a1709077d8b00b00782e9ed88d7mr4776369ejc.186.1664065070543; Sat, 24 Sep 2022 17:17:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664065070; cv=none; d=google.com; s=arc-20160816; b=RpD5jQD/kYW9a1kfgP5KZGxBWtykVlizjqVogQ0buuBOzTB1yqmwBsb7P0J3i/QJVn 7q6NN5yTMYk1EIys5UdfkfE2As4pXQ1xkA1cBR+OrqAenOj92pZCfu9HpZ9DF6C39r6/ iHO+luavuyVHDWdC+zAGdQUNlQ4PltBLl8FwR5YBi91eTUjSnAitJJiOqdoy+GlANSoa PeDtVtAzTBW/0LblJt1pIXsx/s4NB/0H22k2VgkKhG9wWdBweOxuuspriZSJiSJYqJ40 MYfsS194gTleA6cC+ipP/Jv6Zi1ONqJKPXZb44BcvpbgnbYNgw1KbmSjpL6ycu9Hlpdl YlfQ== 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=aX6IZlBud2mRtMy1wLWjl/gA9qR14qzuQ/isuRDH67s=; b=osPMH/rIh5CmiInCowjQBdiquZ51jhbmE5u2na1dQcpUONsouCQ5FkoqsYZw/D962b DffkSs4n/SDJ5fp6a5cW1eIqsFTllT2zhLLoW8AnRyFaIDMTYb73+9WdHKZgZsLmaW39 gEyWjtGjXNmxN26agP3tcXZXaspft2ZMRTY9PSBqUm8TliRitqovzMeWdD7URCJSLmLu h91y+7NPCRQDefcwOJbjmPVDXL38V18PHOi/6wSzR8EhvuspLtUygy1TsGAemhWHD1v/ M+D+Szsw4a8RuEDe2g+/rRnVF2XpeE2VJ5wXEtHd2nLHek33kT+bdi83CW6JUMJxA2IU YqMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=k72mfrZf; 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 c14-20020a0564021f8e00b004569899e0bcsi5204179edc.138.2022.09.24.17.17.50; Sat, 24 Sep 2022 17:17: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=k72mfrZf; 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 847DB68BC6E; Sun, 25 Sep 2022 03:12:30 +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 53F4768BC59 for ; Sun, 25 Sep 2022 03:12:26 +0300 (EEST) Received: by mail-ej1-f48.google.com with SMTP id nb11so7451496ejc.5 for ; Sat, 24 Sep 2022 17:12: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=fr83hzJtr5p7RjgYjDzeC3wd7Wn/QtZ8Z8GpG5iaenw=; b=k72mfrZfsWyDwY3Fi5UqgZW+N9cfcR/YrfaptEy7Ny1Yfn0mNoV5BoCVTXKRmFiynm oqAjGtvLik0H/fMAguupRdOLXkkav3/g0bizlZRSYH9RjkP+o8Hvj1rCZi/oAwCdTmTB 0PrWAAA9KiEvrsFPykyQgP1vzDts9IexCZIFVnnJx+xNeGoO54Qd4jTLZlwp6HX8vX9m CW7m5Ggn+2sAyhtB5NaIjzRvAcdOidqk/VXlO2PwpOFvNxKmq0NpDRYWzP0BWB+2Vg2w be7A3fhKJXdtHQCh6hCIrRCgUjHxY83S1kalwmZe3Cn/yQu/4In4C2zimYkMYYn+n+Fl OSHg== 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=fr83hzJtr5p7RjgYjDzeC3wd7Wn/QtZ8Z8GpG5iaenw=; b=2m4AnnjYIzYesDgiUCiYAh+iMhcKsxMZZm11BQGK1RaPzHPjk8lqo4ffci6Mx6OIX0 3Uq3+GyQQosMIL8EwyzQPVc7lFES7+51zZasWW8cRNKJ6g+W22OD90WS4Aqe1YDON10k T4qaAhLLg48cvV6+8XTtemZKcTJ/lgkC3OrzMg9XmdvTwWbrMGIqppLvXvmn7mx1n0Iw zi5sncP2CAawUemr66m1JnEpw5ziUZcpBeWWFEZjSZ1nsHyHI3PLccFg+1HdMd7l9Eh3 hVHwo1DfB6gPG0sgSkYMhhhwjQYIU0QX9tXJEmnTiAZR44LfOtyzXdr+jnj78sd5hGyX 0BhQ== X-Gm-Message-State: ACrzQf1rcre+E/s+kCCG4PlotOqOGNxSHxqRyS82D391/Ava9EO2DlTZ oeUldFT2VY4S/TpyrFl3tHqtJEeVi2M= X-Received: by 2002:a17:907:a042:b0:77b:a279:fc00 with SMTP id gz2-20020a170907a04200b0077ba279fc00mr12569604ejc.616.1664064746008; Sat, 24 Sep 2022 17:12: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 kz3-20020a17090777c300b007812ba2a360sm6208042ejc.149.2022.09.24.17.12.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 17:12:25 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Sep 2022 02:11:09 +0200 Message-Id: <20220925001121.37721-43-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220925001121.37721-1-epirat07@gmail.com> References: <20220922020400.46715-1-epirat07@gmail.com> <20220925001121.37721-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 42/54] avutil/parseutils: Use inline code and properly escape 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: caZOzSAo20Ap For some reason doxygen needs the % to be escaped here, except for the %% in the inline codeā€¦ --- libavutil/parseutils.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libavutil/parseutils.h b/libavutil/parseutils.h index 2e9017cb43..dad5c2775b 100644 --- a/libavutil/parseutils.h +++ b/libavutil/parseutils.h @@ -166,19 +166,19 @@ int av_find_info_tag(char *arg, int arg_size, const char *tag1, const char *info * by the standard strptime(). * * The supported input field descriptors are listed below. - * - %H: the hour as a decimal number, using a 24-hour clock, in the + * - `%%H`: the hour as a decimal number, using a 24-hour clock, in the * range '00' through '23' - * - %J: hours as a decimal number, in the range '0' through INT_MAX - * - %M: the minute as a decimal number, using a 24-hour clock, in the + * - `%%J`: hours as a decimal number, in the range '0' through INT_MAX + * - `%%M`: the minute as a decimal number, using a 24-hour clock, in the * range '00' through '59' - * - %S: the second as a decimal number, using a 24-hour clock, in the + * - `%%S`: the second as a decimal number, using a 24-hour clock, in the * range '00' through '59' - * - %Y: the year as a decimal number, using the Gregorian calendar - * - %m: the month as a decimal number, in the range '1' through '12' - * - %d: the day of the month as a decimal number, in the range '1' + * - `%%Y`: the year as a decimal number, using the Gregorian calendar + * - `%%m`: the month as a decimal number, in the range '1' through '12' + * - `%%d`: the day of the month as a decimal number, in the range '1' * through '31' - * - %T: alias for '%H:%M:%S' - * - %%: a literal '%' + * - `%%T`: alias for `%%H:%%M:%%S` + * - `%%`: a literal `%` * * @return a pointer to the first character not processed in this function * call. In case the input string contains more characters than