diff options
| author | JosJuice <josjuice@gmail.com> | 2020-11-22 00:11:23 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-11-22 00:11:23 +0100 |
| commit | 118d05641046d781558f5abffb1870f37c9331e3 (patch) | |
| tree | 7d0df6faee8c468218614a583192c30490b3cc7e /Source/Core/VideoCommon/FrameDump.cpp | |
| parent | d3537e68d10d4871be1cd4ddd58274f70485c374 (diff) | |
FrameDump: Re-add call to av_register_all
This was removed in 4902146329d58e0fed826ba874dde928c981261a.
We still need this for the ffmpeg version we're using on Windows.
Diffstat (limited to 'Source/Core/VideoCommon/FrameDump.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/FrameDump.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/FrameDump.cpp b/Source/Core/VideoCommon/FrameDump.cpp index 07efffd089..891aca59b8 100644 --- a/Source/Core/VideoCommon/FrameDump.cpp +++ b/Source/Core/VideoCommon/FrameDump.cpp @@ -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; |
