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

Fix crash (once more, this would be easily avoided by

LOOKING AT THE COMPILER WARNING before -or even after- committing)
parent 6c5d6837
...@@ -439,7 +439,8 @@ int input_DownloadAndCacheArt( playlist_t *p_playlist, input_item_t *p_item ) ...@@ -439,7 +439,8 @@ int input_DownloadAndCacheArt( playlist_t *p_playlist, input_item_t *p_item )
long int l_read; long int l_read;
FILE *p_file = utf8_fopen( psz_filename+7, "w" ); FILE *p_file = utf8_fopen( psz_filename+7, "w" );
if( p_file == NULL ) { if( p_file == NULL ) {
msg_Err( p_playlist, "Unable write album art in %s" ); msg_Err( p_playlist, "Unable write album art in %s",
psz_filename + 7 );
free( psz_arturl ); free( psz_arturl );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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