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, 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;
}