Added version check for deprecated ffmpeg symbols

This commit is contained in:
Armin Novak 2021-04-29 13:18:57 +02:00 committed by akallabeth
parent b83e3bf61c
commit bad528d36b

View File

@ -508,7 +508,10 @@ static BOOL libavcodec_init(H264_CONTEXT* h264)
}
h264->pSystemData = (void*)sys;
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 137, 100)
avcodec_register_all();
#endif
if (!h264->Compressor)
{