summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AVIDump.cpp
diff options
context:
space:
mode:
authorMichael M <mchtly@gmail.com>2018-07-14 12:30:40 -0700
committerMichael M <mchtly@gmail.com>2018-07-14 12:46:00 -0700
commite45698aaa0f99eff1700089954a5af55b53ec47b (patch)
tree65a4f8b8219474c8507a9316c75888791022a8b4 /Source/Core/VideoCommon/AVIDump.cpp
parent865d737efd54b6ed297e05662909f01651170c1b (diff)
AVIDump: av_register_all is deprecated/unneeded since 58.9.100
Diffstat (limited to 'Source/Core/VideoCommon/AVIDump.cpp')
-rw-r--r--Source/Core/VideoCommon/AVIDump.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp
index 71540d8bfb..b6d51fc718 100644
--- a/Source/Core/VideoCommon/AVIDump.cpp
+++ b/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;
}