* Fix bug where we can consider good embedded album art to be bad.
This commit is contained in:
parent
2b611ba8e2
commit
20bb1db8a7
@ -245,7 +245,7 @@ check_embedded_art(const char * path, const char * image_data, int image_size)
|
|||||||
art_path = NULL;
|
art_path = NULL;
|
||||||
goto end_art;
|
goto end_art;
|
||||||
}
|
}
|
||||||
nwritten = fwrite((void *)image_data, image_size, 1, dstfile);
|
nwritten = fwrite((void *)image_data, 1, image_size, dstfile);
|
||||||
fclose(dstfile);
|
fclose(dstfile);
|
||||||
if( nwritten != image_size )
|
if( nwritten != image_size )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user