mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-03 06:16:04 +00:00
Change frameHeaderSize to uint32_t to avoid warning from promotion to signed int
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user