aboutsummaryrefslogtreecommitdiffstats
path: root/extract-artwork.c
diff options
context:
space:
mode:
Diffstat (limited to 'extract-artwork.c')
-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) {