aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2022-09-25 00:39:19 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-17 09:56:47 +0200
commitc4ff708c81fbabc9d220e7b8b43894769231edcf (patch)
tree7f045cff7c1d4a331e334a5e73e5861d773f08e4
parent990340377b169991ff629b8eebe3456a7e1fc01c (diff)
downloadffmpeg-c4ff708c81fbabc9d220e7b8b43894769231edcf.tar.gz
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ā€¦
-rw-r--r--libavutil/parseutils.h18
1 files 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