summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-06-21 23:00:09 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-21 23:00:09 +0200
commit756adc67760400da77268fe69ea52469985937bc (patch)
tree5b0dc4cc7f099e06aee7624a18bd86400e5fbafc
parent9d206a21c5405eebc2b70560361975c8733b3138 (diff)
downloadmpd-notification-756adc67760400da77268fe69ea52469985937bc.tar.gz
mpd-notification-756adc67760400da77268fe69ea52469985937bc.tar.zst
do not call read_header()ffmpeg-7
Looks like this is private and has never been intended to be call by us.
-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) {