Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforge.net>2010-06-04 02:10:21 +0400
committerJustin Maggard <jmaggard@users.sourceforge.net>2010-06-04 02:10:21 +0400
commitaf62389c7c63a47018f842b8bd8471ea60d9b7f8 (patch)
treecfa90f33b1d58d8fdcef85ff936e819b8db31410
parentf869b5559392b6757ab1656323cd9b73bcf558d8 (diff)
* Fix bug where we can consider good embedded album art to be bad.v1.0.18
-rw-r--r--albumart.c2
1 files changed, 1 insertions, 1 deletions
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 )
{