* Don't expose album art images in the content directory.
* Support album art name wildcards.
This commit is contained in:
@ -475,7 +475,7 @@ image_new_from_jpeg(const char * path, int is_file, const char * buf, int size,
|
||||
if(cinfo.output_components == 3)
|
||||
{
|
||||
ofs = 0;
|
||||
if((ptr = (unsigned char *)malloc(w * 3 * cinfo.rec_outbuf_height)) == NULL)
|
||||
if((ptr = (unsigned char *)malloc(w * 3 * cinfo.rec_outbuf_height + 8)) == NULL)
|
||||
{
|
||||
DPRINTF(E_WARN, L_METADATA, "malloc failed\n");
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user