diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-12-01 16:58:51 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-12-02 11:48:56 +0100 |
commit | 86a2486812f14bf513632e425649a534882e56f7 (patch) | |
tree | 828bc084cfaa25797c299cad50f03de068a8b340 /libavutil/parseutils.h | |
parent | b61ba262a1e275f8129b7383d70fe48051b47fcf (diff) | |
download | ffmpeg-86a2486812f14bf513632e425649a534882e56f7.tar.gz |
lavu/parseutils: accept %J for hours >= 24.
Allow to parse durations >= 24:00:00.
Diffstat (limited to 'libavutil/parseutils.h')
-rw-r--r-- | libavutil/parseutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/parseutils.h b/libavutil/parseutils.h index da7d345b54..1f56a7a7cc 100644 --- a/libavutil/parseutils.h +++ b/libavutil/parseutils.h @@ -141,6 +141,7 @@ int av_parse_time(int64_t *timeval, const char *timestr, int duration); * In particular it actually supports the parameters: * - %H: the hour as a decimal number, using a 24-hour clock, in the * range '00' through '23' + * - %J: hours as a decimal number, in the range '0' through INT_MAX * - %M: the minute as a decimal number, using a 24-hour clock, in the * range '00' through '59' * - %S: the second as a decimal number, using a 24-hour clock, in the |