Added version check for deprecated ffmpeg symbols
(cherry picked from commit 80b25de1a8
)
This commit is contained in:
parent
bd3c2d9517
commit
93b87ed417
@ -506,7 +506,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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user