diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_video_track.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_video_track.cpp index 28d066e1ea..61e66870d4 100644 --- a/Telegram/SourceFiles/media/streaming/media_streaming_video_track.cpp +++ b/Telegram/SourceFiles/media/streaming/media_streaming_video_track.cpp @@ -512,7 +512,7 @@ bool VideoTrackObject::tryReadFirstFrame(FFmpeg::Packet &&packet) { } bool VideoTrackObject::processFirstFrame() { - if (_stream.frame->width * _stream.frame->height >= kMaxFrameArea) { + if (_stream.frame->width * _stream.frame->height > kMaxFrameArea) { return false; } auto frame = ConvertFrame(