* Fix segfault when encountering a certain type of corrupted embedded JPEG image on audio files.

This commit is contained in:
Justin Maggard committed 2009-04-10 22:25:04 +00:00
1 parent 90069678a7
commit 0303f15fa4
2 files changed
+6

No files matched your search

+2
View File
@@ -126,6 +126,8 @@ check_embedded_art(const char * path, const char * image_data, int image_size)
}
imsrc = image_new_from_jpeg(NULL, 0, image_data, image_size);
if( !imsrc )
return NULL;
width = imsrc->width;
height = imsrc->height;