diff options
| -rw-r--r-- | extract-artwork.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extract-artwork.c b/extract-artwork.c index bd5f353..b289f25 100644 --- a/extract-artwork.c +++ b/extract-artwork.c @@ -49,9 +49,10 @@ int main(int argc, char **argv) { goto next; } - /* only flac & mp3 files contain artwork, so ignore others */ + /* only flac, mp3 & ogg/opus files contain artwork, so ignore others */ if (strcmp(pFormatCtx->iformat->name, "flac") != 0 && - strcmp(pFormatCtx->iformat->name, "mp3") != 0) { + strcmp(pFormatCtx->iformat->name, "mp3") != 0 && + strcmp(pFormatCtx->iformat->name, "ogg") != 0) { fprintf(stderr, "%s: not a supported media file\n", argv[i]); goto next; } |