From 20bb1db8a79972db7d055a9aace92466111fcb9b Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 3 Jun 2010 22:10:21 +0000 Subject: [PATCH] * Fix bug where we can consider good embedded album art to be bad. --- albumart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/albumart.c b/albumart.c index c2d6447..dbae914 100644 --- a/albumart.c +++ b/albumart.c @@ -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 ) {