Permalink
Browse files

AVIDump: av_register_all is deprecated/unneeded since 58.9.100

  • Loading branch information...
ligfx committed Jul 14, 2018
1 parent 865d737 commit e45698aaa0f99eff1700089954a5af55b53ec47b
Showing with 2 additions and 0 deletions.
  1. +2 −0 Source/Core/VideoCommon/AVIDump.cpp
@@ -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;
}

0 comments on commit e45698a

Please sign in to comment.