p_string = malloc( sizeof(subpicture_data_t) );
if( !p_string )
{
- msg_Err( p_filter, "Out of memory" );
+ msg_Err( p_filter, "out of memory" );
goto error;
}
p_string->p_lines = 0;
malloc( ( strlen(psz_string) + 1 ) * sizeof(uint32_t) );
if( psz_unicode == NULL )
{
- msg_Err( p_filter, "Out of memory" );
+ msg_Err( p_filter, "out of memory" );
goto error;
}
#if defined(WORDS_BIGENDIAN)
#endif
if( iconv_handle == (vlc_iconv_t)-1 )
{
- msg_Warn( p_filter, "Unable to do convertion" );
+ msg_Warn( p_filter, "unable to do convertion" );
goto error;
}
if( i_in_bytes )
{
- msg_Warn( p_filter, "Failed to convert string to unicode (%s), "
+ msg_Warn( p_filter, "failed to convert string to unicode (%s), "
"bytes left %d", strerror(errno), i_in_bytes );
goto error;
}
p_line = NewLine( psz_string );
if( p_line == NULL )
{
- msg_Err( p_filter, "Out of memory" );
+ msg_Err( p_filter, "out of memory" );
goto error;
}
p_string->p_lines = p_line;
p_next = NewLine( psz_string );
if( p_next == NULL )
{
- msg_Err( p_filter, "Out of memory" );
+ msg_Err( p_filter, "out of memory" );
goto error;
}
p_line->p_next = p_next;
}
if( psz_unicode == psz_line_start )
{
- msg_Err( p_filter, "Unbreakable string" );
+ msg_Warn( p_filter, "unbreakable string" );
goto error;
}
else
line.yMin = 0;
line.yMax = 0;
i = 0;
- continue;
+ continue;
}
line.yMax = __MAX( line.yMax, glyph_size.yMax );
line.yMin = __MIN( line.yMin, glyph_size.yMin );
return NULL;
}
p_line->pp_glyphs[0] = NULL;
-
+
p_line->p_glyph_pos = malloc( sizeof( FT_Vector )
* i_count + 1 );
if( p_line->p_glyph_pos == NULL )