[FFmpeg-devel] [PATCH] lavu/parseutils: fix specification for av_parse_time()
Stefano Sabatini
stefasab at gmail.com
Thu May 17 14:06:51 CEST 2012
---
libavutil/parseutils.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavutil/parseutils.h b/libavutil/parseutils.h
index a545652..7c7a91f 100644
--- a/libavutil/parseutils.h
+++ b/libavutil/parseutils.h
@@ -112,7 +112,7 @@ int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen,
* @param timestr a string representing a date or a duration.
* - If a date the syntax is:
* @code
- * [{YYYY-MM-DD|YYYYMMDD}[T|t| ]]{{HH[:MM[:SS[.m...]]]}|{HH[MM[SS[.m...]]]}}[Z]
+ * [{YYYY-MM-DD|YYYYMMDD}[T|t| ]]{{HH:MM:SS[.m...]]]}|{HHMMSS[.m...]]]}}[Z]
* now
* @endcode
* If the value is "now" it takes the current time.
@@ -122,7 +122,7 @@ int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen,
* year-month-day.
* - If a duration the syntax is:
* @code
- * [-]HH[:MM[:SS[.m...]]]
+ * [-]HH:MM:SS[.m...]]]
* [-]S+[.m...]
* @endcode
* @param duration flag which tells how to interpret timestr, if not
--
1.7.5.4
More information about the ffmpeg-devel
mailing list