mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-24 05:31:13 +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;
|
lastPacketInStream = streamPacketIndex;
|
||||||
|
|
||||||
// If this is the first packet, skip the frame header (if one exists)
|
// If this is the first packet, skip the frame header (if one exists)
|
||||||
uint8_t frameHeaderSize;
|
uint32_t frameHeaderSize;
|
||||||
if (firstPacket) {
|
if (firstPacket) {
|
||||||
// Parse the frame type from the header
|
// Parse the frame type from the header
|
||||||
if (APP_VERSION_AT_LEAST(7, 1, 350)) {
|
if (APP_VERSION_AT_LEAST(7, 1, 350)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user