subassconvert: make subrip attribute parsing more robust
commit81eb9117633e77514361f219ee4a72a88701d313
authorUoti Urpala <uau@mplayer2.org>
Mon, 16 Apr 2012 23:07:55 +0000 (17 02:07 +0300)
committerUoti Urpala <uau@mplayer2.org>
Mon, 16 Apr 2012 23:43:15 +0000 (17 02:43 +0300)
treebea4e44f49e366681ee441327e9a463748aaf4da
parentf0ce95607f566d288674f317176c51bcda026a9d
subassconvert: make subrip attribute parsing more robust

Add general code to separate the HTML-like attribute=value syntax used
in srt font tags into attribute and value parts. This simplifies some
of the parsing code, makes detection of malformed input more robust,
and allows warning about unrecognized attributes.
sub/subassconvert.c