mirror of
https://git.eworm.de/cgit/extract-artwork
synced 2025-08-04 01:54:56 +02:00
do not call read_header()
Looks like this is private and has never been intended to be call by us.
This commit is contained in:
parent
e8a863fadb
commit
1391de49d2
1 changed files with 0 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue