aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpd-notification.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index 7e7f302..af8985a 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -119,11 +119,6 @@ GdkPixbuf * retrieve_artwork(const char * music_dir, const char * uri) {
goto image;
}
- if (pFormatCtx->iformat->read_header(pFormatCtx) < 0) {
- fprintf(stderr, "%s: Could not read the format header.\n", program);
- goto image;
- }
-
/* find the first attached picture, if available */
for (i = 0; i < pFormatCtx->nb_streams; i++) {
if (pFormatCtx->streams[i]->disposition & AV_DISPOSITION_ATTACHED_PIC) {