diff options
-rw-r--r-- | src/kitlib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kitlib.c b/src/kitlib.c index 2daf44d..0971805 100644 --- a/src/kitlib.c +++ b/src/kitlib.c @@ -39,7 +39,10 @@ int Kit_Init(unsigned int flags) { Kit_SetError("Kitchensink is already initialized."); goto exit_0; } + + #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100) av_register_all(); + #endif if(flags & KIT_INIT_NETWORK) { avformat_network_init(); |