aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);