mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
efdbf37255
commit
a594678e3d
285 changed files with 12724 additions and 1671 deletions
|
@ -504,7 +504,7 @@ char *av_small_strptime(const char *p, const char *fmt, struct tm *dt)
|
|||
switch(c) {
|
||||
case 'H':
|
||||
case 'J':
|
||||
val = date_get_num(&p, 0, c == 'H' ? 23 : INT_MAX, c == 'H' ? 2 : 4);
|
||||
val = date_get_num(&p, 0, c == 'H' ? 23 : INT_MAX, 2);
|
||||
|
||||
if (val == -1)
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue