2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix deprecation warnings when building with FFmpeg 4.2.

This commit is contained in:
John Preston
2020-02-06 16:39:47 +04:00
parent 951bb22c38
commit 547251f67c
5 changed files with 7 additions and 13 deletions

View File

@@ -170,17 +170,10 @@ namespace ThirdParty {
LOG(("MTP Error: dynlock_create callback is set without dynlock_lock callback!"));
}
av_register_all();
avcodec_register_all();
av_lockmgr_register(_ffmpegLockManager);
_sslInited = true;
}
void finish() {
av_lockmgr_register(nullptr);
CRYPTO_cleanup_all_ex_data();
#ifndef LIBRESSL_VERSION_NUMBER
FIPS_mode_set(0);