vlc/vlc-3.0 | branch: master | Francois Cartegnie <[email protected]> | Wed Dec 6 13:35:33 2017 +0100| [5a681f698b04121e52be162c8df1a2e7bb9e3bc8] | committer: Francois Cartegnie
demux: subtitle: read dropframe timecode (cherry picked from commit 533431b6f6e83d3111092932b80e4088eb04a2e8) > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=5a681f698b04121e52be162c8df1a2e7bb9e3bc8 --- modules/demux/subtitle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c index b6599c8269..4c6583fe4e 100644 --- a/modules/demux/subtitle.c +++ b/modules/demux/subtitle.c @@ -2387,7 +2387,7 @@ static int ParseSCC( vlc_object_t *p_obj, subs_properties_t *p_props, return VLC_EGENERIC; unsigned h, m, s, f; - if( sscanf( psz_line, "%u:%u:%u:%u ", &h, &m, &s, &f ) != 4 ) + if( sscanf( psz_line, "%u:%u:%u%*[:;]%u ", &h, &m, &s, &f ) != 4 ) continue; p_subtitle->i_start = CLOCK_FREQ * ( h * 3600 + m * 60 + s ) + _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
