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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue