AVIDump: av_register_all is deprecated/unneeded since 58.9.100

This commit is contained in:
Michael M 2018-07-14 12:30:40 -07:00
parent 865d737efd
commit e45698aaa0
1 changed files with 2 additions and 0 deletions

View File

@ -58,7 +58,9 @@ static void InitAVCodec()
static bool first_run = true;
if (first_run)
{
#if LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100)
av_register_all();
#endif
avformat_network_init();
first_run = false;
}