diff --git a/components/streams/src/receiver.cpp b/components/streams/src/receiver.cpp index 58171e8bef3cff4618f9b1fc252dfc224191e54f..738e3f0bfee2e61b9f4226adc51d04be7b54dfac 100644 --- a/components/streams/src/receiver.cpp +++ b/components/streams/src/receiver.cpp @@ -279,6 +279,11 @@ void Receiver::_processVideo(const StreamPacket &spkt, const Packet &pkt) { return; } + if (tx == 0 || ty == 0) { + LOG(ERROR) << "No Packets"; + return; + } + auto &surface = ividstate.surface[static_cast<int>(spkt.channel)]; // Allocate a decode surface, this is a tiled image to be split later