int i_vlcstyles_flags = 0;
if ( i_atomflags & FONT_FACE_BOLD )
i_vlcstyles_flags |= STYLE_BOLD;
int i_vlcstyles_flags = 0;
if ( i_atomflags & FONT_FACE_BOLD )
i_vlcstyles_flags |= STYLE_BOLD;
if ( i_psz_bytelength > 2 &&
( !memcmp( p_pszstart, "\xFE\xFF", 2 ) || !memcmp( p_pszstart, "\xFF\xFE", 2 ) )
)
if ( i_psz_bytelength > 2 &&
( !memcmp( p_pszstart, "\xFE\xFF", 2 ) || !memcmp( p_pszstart, "\xFF\xFE", 2 ) )
)
- if ( !psz_subtitle ) return NULL;
- memcpy( psz_subtitle, p_pszstart, i_psz_bytelength );
- psz_subtitle[ i_psz_bytelength ] = '\0';
+ if ( !psz_subtitle ) return NULL;
+ memcpy( psz_subtitle, p_pszstart, i_psz_bytelength );
+ psz_subtitle[ i_psz_bytelength ] = '\0';
+ }