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:
parent
02d6c63aca
commit
441931765f
|
@ -109,7 +109,11 @@ CameraSource::CameraSource()
|
||||||
moveToThread(deviceThread);
|
moveToThread(deviceThread);
|
||||||
|
|
||||||
subscriptions = 0;
|
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();
|
av_register_all();
|
||||||
|
#endif
|
||||||
avdevice_register_all();
|
avdevice_register_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user