]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Modify debug message slightly.
authorMike Brady <mikebrady@eircom.net>
Tue, 23 Jan 2018 11:17:10 +0000 (11:17 +0000)
committerMike Brady <mikebrady@eircom.net>
Tue, 23 Jan 2018 11:17:10 +0000 (11:17 +0000)
metadata_hub.c

index 34c696797fc298c6ce9e4ad07f170237a84a4f86..086c6bdf51cc7746ae2f1b415aae851ae6d3f834 100644 (file)
@@ -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);