From: Mike Brady Date: Tue, 23 Jan 2018 11:17:10 +0000 (+0000) Subject: Modify debug message slightly. X-Git-Tag: 3.2d29~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93958d3b59653dae96e9bb7d9a6d9a7f552e62ae;p=thirdparty%2Fshairport-sync.git Modify debug message slightly. --- diff --git a/metadata_hub.c b/metadata_hub.c index 34c69679..086c6bdf 100644 --- a/metadata_hub.c +++ b/metadata_hub.c @@ -368,9 +368,9 @@ void metadata_hub_process_metadata(uint32_t type, uint32_t code, char *data, uin debug(1, "MH Metadata stream processing end."); break; case 'PICT': - debug(1, "MH Picture received, length %u bytes.", length); if (length > 16) { metadata_hub_modify_prolog(); + debug(1, "MH Picture received, length %u bytes.", length); if (metadata_store.cover_art_pathname) free(metadata_store.cover_art_pathname); metadata_store.cover_art_pathname = metadata_write_image_file(data, length);