aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-06-21 22:59:17 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-21 22:59:17 +0200
commit1391de49d2cbb749911028b9fc155e15db14eb36 (patch)
treec7c20753a892c4e12eb0793c79b66bbb4fc139bf
parente8a863fadb7288475dfe33f708d4480b6db8cb44 (diff)
downloadextract-artwork-1391de49d2cbb749911028b9fc155e15db14eb36.tar.gz
extract-artwork-1391de49d2cbb749911028b9fc155e15db14eb36.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--extract-artwork.c5
1 files changed, 0 insertions, 5 deletions
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) {