--- a/albumart.c
+++ b/albumart.c
@@ -218,7 +218,7 @@
 	}
 	last_hash = hash;
 
-	imsrc = image_new_from_jpeg(NULL, 0, image_data, image_size, 1);
+	imsrc = image_new_from_jpeg(NULL, 0, image_data, image_size, 1, ROTATE_NONE);
 	if( !imsrc )
 	{
 		last_success = 0;
@@ -302,7 +302,7 @@
 		if( art_cache_exists(file, &art_file) )
 			goto existing_file;
 		free(art_file);
-		imsrc = image_new_from_jpeg(file, 1, NULL, 0, 1);
+		imsrc = image_new_from_jpeg(file, 1, NULL, 0, 1, ROTATE_NONE);
 		if( imsrc )
 			goto found_file;
 	}
@@ -315,7 +315,7 @@
 		if( art_cache_exists(file, &art_file) )
 			goto existing_file;
 		free(art_file);
-		imsrc = image_new_from_jpeg(file, 1, NULL, 0, 1);
+		imsrc = image_new_from_jpeg(file, 1, NULL, 0, 1, ROTATE_NONE);
 		if( imsrc )
 			goto found_file;
 	}
@@ -332,7 +332,7 @@
 				return art_file;
 			}
 			free(art_file);
-			imsrc = image_new_from_jpeg(file, 1, NULL, 0, 1);
+			imsrc = image_new_from_jpeg(file, 1, NULL, 0, 1, ROTATE_NONE);
 			if( !imsrc )
 				continue;
 found_file: