From 01d6cacee551ce372077f96d0c10652238d86dfa Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 25 Feb 2023 17:56:16 +0400 Subject: [PATCH] Version 4.6.5: Fix build with FFmpeg 5.1. --- Telegram/SourceFiles/ffmpeg/ffmpeg_utility.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.h b/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.h index 5292c8272..a517ff0a4 100644 --- a/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.h +++ b/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.h @@ -22,7 +22,7 @@ extern "C" { #include } // extern "C" -#define DA_FFMPEG_NEW_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR >= 59) +#define DA_FFMPEG_NEW_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR >= 57) class QImage;