From 49fef0383020272941c4704d2ecf3e1e71174092 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 8 Jul 2023 01:40:44 -0500 Subject: [PATCH] Change frameHeaderSize to uint32_t to avoid warning from promotion to signed int --- src/VideoDepacketizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VideoDepacketizer.c b/src/VideoDepacketizer.c index cf44cb8..02f529f 100644 --- a/src/VideoDepacketizer.c +++ b/src/VideoDepacketizer.c @@ -817,7 +817,7 @@ static void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length, lastPacketInStream = streamPacketIndex; // If this is the first packet, skip the frame header (if one exists) - uint8_t frameHeaderSize; + uint32_t frameHeaderSize; if (firstPacket) { // Parse the frame type from the header if (APP_VERSION_AT_LEAST(7, 1, 350)) {