lavu/parseutils: accept %J for hours >= 24.

Allow to parse durations >= 24:00:00.
This commit is contained in:
Nicolas George
2012-12-01 16:58:51 +01:00
parent b61ba262a1
commit 86a2486812
3 changed files with 5 additions and 3 deletions

View File

@@ -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