aboutsummaryrefslogtreecommitdiffstats
path: root/extract-artwork.c
diff options
context:
space:
mode:
Diffstat (limited to 'extract-artwork.c')
-rw-r--r--extract-artwork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extract-artwork.c b/extract-artwork.c
index c0e1af7..62c962e 100644
--- a/extract-artwork.c
+++ b/extract-artwork.c
@@ -23,7 +23,9 @@ int main(int argc, char **argv) {
}
/* libav */
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100)
av_register_all();
+#endif
/* only fatal messages from libav */
av_log_set_level(AV_LOG_FATAL);