[FFmpeg-devel] [misc-parse-date PATCH 4/5] Deprecate parse_date() in favor of av_parse_time().

Stefano Sabatini stefano.sabatini-lala
Wed Jun 23 00:24:00 CEST 2010


On date Tuesday 2010-06-22 20:28:56 +0200, Michael Niedermayer encoded:
> On Sun, Jun 20, 2010 at 06:51:08PM +0200, Stefano Sabatini wrote:
> > The new function is av_ prefixed and has a slightly more
> > convenient/expressive interface.
> 

> why is the timevalue (positive) or error (negative) nit returned normally?

AVERROR_INVALIDDATA: Cannot parse expression.

> or other question, in which case do we need to return negative
> times/durations?

Negative durations don't make sense, but we can have perfectly valid
negative times, for dates which pre-date the UNIX epoch.

Regards.
-- 
FFmpeg = Fanciful and Fiendish Minimal Patchable Extensive Gymnast



More information about the ffmpeg-devel mailing list