[FFmpeg-devel] [PATCH] lavu/parseutils: accept %J for hours >= 24.

Michael Niedermayer michaelni at gmx.at
Sun Dec 2 02:35:08 CET 2012


On Sat, Dec 01, 2012 at 09:01:46PM +0100, Nicolas George wrote:
> Allow to parse durations >= 24:00:00.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavutil/parseutils.c |    5 +++--
>  libavutil/parseutils.h |    1 +
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> 
> Replaced %h by %J.
> 
> Concerning the principle of the use of strptime to parse durations: whether
> it is a good idea or not is moot, as changing it would be breaking backward
> compatibility.
> 

LGTM if there are no other comments


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

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- 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/20121202/e1f09458/attachment.asc>


More information about the ffmpeg-devel mailing list