Commit a5e5084d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Backport [17458] again: don't use printf to debug

parent de67c8c9
...@@ -1305,10 +1305,7 @@ static int Decompress( unsigned char *psz_src, unsigned char **_dst, int i_len ) ...@@ -1305,10 +1305,7 @@ static int Decompress( unsigned char *psz_src, unsigned char **_dst, int i_len )
i_result = inflateInit(&d_stream); i_result = inflateInit(&d_stream);
if( i_result != Z_OK ) if( i_result != Z_OK )
{
printf( "inflateInit() failed. Result: %d\n", i_result );
return( -1 ); return( -1 );
}
#if 0 #if 0
p_playlist->pp_items[p_playlist->i_index]->b_autodeletion = VLC_TRUE; p_playlist->pp_items[p_playlist->i_index]->b_autodeletion = VLC_TRUE;
i_position = p_playlist->i_index; i_position = p_playlist->i_index;
...@@ -1334,7 +1331,6 @@ static int Decompress( unsigned char *psz_src, unsigned char **_dst, int i_len ) ...@@ -1334,7 +1331,6 @@ static int Decompress( unsigned char *psz_src, unsigned char **_dst, int i_len )
i_result = inflate(&d_stream, Z_NO_FLUSH); i_result = inflate(&d_stream, Z_NO_FLUSH);
if( ( i_result != Z_OK ) && ( i_result != Z_STREAM_END ) ) if( ( i_result != Z_OK ) && ( i_result != Z_STREAM_END ) )
{ {
printf( "Zlib decompression failed. Result: %d\n", i_result );
inflateEnd( &d_stream ); inflateEnd( &d_stream );
return( -1 ); return( -1 );
} }
......
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