* Fix bug where we can consider good embedded album art to be bad.

This commit is contained in:
Justin Maggard 2010-06-03 22:10:21 +00:00
parent 2b611ba8e2
commit 20bb1db8a7

View File

@ -245,7 +245,7 @@ check_embedded_art(const char * path, const char * image_data, int image_size)
art_path = NULL;
goto end_art;
}
nwritten = fwrite((void *)image_data, image_size, 1, dstfile);
nwritten = fwrite((void *)image_data, 1, image_size, dstfile);
fclose(dstfile);
if( nwritten != image_size )
{