mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Fix a bug caught by -Wall that had us make an extra call for each video packet
This commit is contained in:
parent
dcc1b932de
commit
fcd2a20e01
@ -445,7 +445,7 @@ void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length) {
|
||||
}
|
||||
lastPacketInStream = streamPacketIndex;
|
||||
|
||||
if (isFirstPacket &&
|
||||
if (firstPacket &&
|
||||
getSpecialSeq(¤tPos, &specialSeq) &&
|
||||
isSeqFrameStart(&specialSeq) &&
|
||||
specialSeq.data[specialSeq.offset + specialSeq.length] == 0x67)
|
||||
|
Loading…
x
Reference in New Issue
Block a user