Skip to content
Permalink
Browse files
Merge pull request #9274 from JosJuice/av-register-all
FrameDump: Re-add call to av_register_all
  • Loading branch information
JosJuice committed Nov 22, 2020
2 parents 5d9eb8f + 118d056 commit b53127a
Showing 1 changed file with 3 additions and 0 deletions.
@@ -69,6 +69,9 @@ 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
// TODO: We never call avformat_network_deinit.
avformat_network_init();
first_run = false;

0 comments on commit b53127a

Please sign in to comment.