[FFmpeg-devel] [PATCH] lavu/parseutils: fix specification for av_parse_time()

Michael Niedermayer michaelni at gmx.at
Thu May 17 18:12:20 CEST 2012


On Thu, May 17, 2012 at 02:06:51PM +0200, Stefano Sabatini wrote:
> ---
>  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

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120517/15aa9cba/attachment.asc>


More information about the ffmpeg-devel mailing list