From 1391de49d2cbb749911028b9fc155e15db14eb36 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 21 Jun 2024 22:59:17 +0200 Subject: do not call read_header() Looks like this is private and has never been intended to be call by us. --- extract-artwork.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'extract-artwork.c') diff --git a/extract-artwork.c b/extract-artwork.c index 6c92792..ed30dd7 100644 --- a/extract-artwork.c +++ b/extract-artwork.c @@ -55,11 +55,6 @@ int main(int argc, char **argv) { goto next; } - if (pFormatCtx->iformat->read_header(pFormatCtx) < 0) { - fprintf(stderr, "%s: could not read the format header\n", argv[i]); - goto next; - } - /* find the first attached picture, if available */ for (j = 0; j < pFormatCtx->nb_streams; j++) { if (pFormatCtx->streams[j]->disposition & AV_DISPOSITION_ATTACHED_PIC) { -- cgit v1.2.3-70-g09d2