Commit f3dde8da authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Subsdec: fix small parsing issue

Close #8392
(cherry picked from commit 66ffb52c7a485e3594867351a7efa9199129793d)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 35861541
......@@ -671,14 +671,14 @@ static char *CreateHtmlSubtitle( int *pi_align, char *psz_subtitle )
HtmlCopy( &psz_html, &psz_subtitle, "<font " );
HtmlPut( &psz_tag, "f" );
/* <font color= */
while (*psz_subtitle == ' ')
psz_subtitle++;
while( *psz_subtitle != '>' )
{
int k;
/* <font color= */
while (*psz_subtitle == ' ')
psz_subtitle++;
for( k=0; psz_attribs[ k ]; k++ )
{
int i_len = strlen( psz_attribs[ k ] );
......
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