mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix build with ffmpeg 5.0
This commit is contained in:
parent
1f1cd35d57
commit
2181422d5f
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ extern "C" {
|
|||
#include <libavutil/version.h>
|
||||
} // extern "C"
|
||||
|
||||
#define DA_FFMPEG_NEW_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR >= 57)
|
||||
#define DA_FFMPEG_NEW_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR > 57 \
|
||||
|| (LIBAVUTIL_VERSION_MAJOR == 57 && LIBAVUTIL_VERSION_MINOR >= 28))
|
||||
|
||||
class QImage;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue