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

Stefano Sabatini stefasab at gmail.com
Fri May 18 01:04:45 CEST 2012


On date Thursday 2012-05-17 18:12:20 +0200, Michael Niedermayer encoded:
> 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

Inserted.
-- 
FFmpeg = Furious and Formidable Martial Purposeless Evil Gigant


More information about the ffmpeg-devel mailing list