Commit 4ee0d305 authored by François Cartegnie's avatar François Cartegnie 🤞

codec: webvtt: hours can be > 2 digits

parent 55a13f9a
......@@ -105,7 +105,7 @@ bool webvtt_scan_time( const char *psz, mtime_t *p_time )
*p_time = MakeTime( t );
return true;
}
else if( sscanf( psz, "%2u:%2u:%2u.%3u",
else if( sscanf( psz, "%u:%2u:%2u.%3u",
&t[0], &t[1], &t[2], &t[3] ) == 4 )
{
*p_time = MakeTime( t );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment