[FFmpeg-cvslog] avutil/parseutils: Use inline code and properly escape

Marvin Scholz git at videolan.org
Mon Oct 17 11:01:41 EEST 2022


ffmpeg | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sun Sep 25 00:39:19 2022 +0200| [c4ff708c81fbabc9d220e7b8b43894769231edcf] | committer: Anton Khirnov

avutil/parseutils: Use inline code and properly escape

For some reason doxygen needs the % to be escaped here, except for the
%% in the inline code…

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c4ff708c81fbabc9d220e7b8b43894769231edcf
---

 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



More information about the ffmpeg-cvslog mailing list