1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(build): make qTox compile with ffmpeg 4.0 and newer

This commit is contained in:
sudden6 2018-04-23 19:31:58 +02:00
parent 02d6c63aca
commit 441931765f
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -109,7 +109,11 @@ CameraSource::CameraSource()
moveToThread(deviceThread);
subscriptions = 0;
// TODO(sudden6): remove code when minimum ffmpeg version >= 4.0
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 100)
av_register_all();
#endif
avdevice_register_all();
}