Commit eb9cf6a8 authored by Clément Stenac's avatar Clément Stenac

Cosmetics

parent 9b4453a6
...@@ -433,7 +433,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block ) ...@@ -433,7 +433,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
p_string = malloc( sizeof(subpicture_data_t) ); p_string = malloc( sizeof(subpicture_data_t) );
if( !p_string ) if( !p_string )
{ {
msg_Err( p_filter, "Out of memory" ); msg_Err( p_filter, "out of memory" );
goto error; goto error;
} }
p_string->p_lines = 0; p_string->p_lines = 0;
...@@ -443,7 +443,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block ) ...@@ -443,7 +443,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
malloc( ( strlen(psz_string) + 1 ) * sizeof(uint32_t) ); malloc( ( strlen(psz_string) + 1 ) * sizeof(uint32_t) );
if( psz_unicode == NULL ) if( psz_unicode == NULL )
{ {
msg_Err( p_filter, "Out of memory" ); msg_Err( p_filter, "out of memory" );
goto error; goto error;
} }
#if defined(WORDS_BIGENDIAN) #if defined(WORDS_BIGENDIAN)
...@@ -453,7 +453,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block ) ...@@ -453,7 +453,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
#endif #endif
if( iconv_handle == (vlc_iconv_t)-1 ) 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; goto error;
} }
...@@ -472,7 +472,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block ) ...@@ -472,7 +472,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
if( i_in_bytes ) 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 ); "bytes left %d", strerror(errno), i_in_bytes );
goto error; goto error;
} }
...@@ -498,7 +498,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block ) ...@@ -498,7 +498,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
p_line = NewLine( psz_string ); p_line = NewLine( psz_string );
if( p_line == NULL ) if( p_line == NULL )
{ {
msg_Err( p_filter, "Out of memory" ); msg_Err( p_filter, "out of memory" );
goto error; goto error;
} }
p_string->p_lines = p_line; p_string->p_lines = p_line;
...@@ -525,7 +525,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block ) ...@@ -525,7 +525,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
p_next = NewLine( psz_string ); p_next = NewLine( psz_string );
if( p_next == NULL ) if( p_next == NULL )
{ {
msg_Err( p_filter, "Out of memory" ); msg_Err( p_filter, "out of memory" );
goto error; goto error;
} }
p_line->p_next = p_next; p_line->p_next = p_next;
...@@ -601,7 +601,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block ) ...@@ -601,7 +601,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
} }
if( psz_unicode == psz_line_start ) if( psz_unicode == psz_line_start )
{ {
msg_Err( p_filter, "Unbreakable string" ); msg_Warn( p_filter, "unbreakable string" );
goto error; goto error;
} }
else else
......
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