AVIDump: av_register_all is deprecated/unneeded since 58.9.100
This commit is contained in:
1 parent
865d737efd
commit
e45698aaa0
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user