Fix a bug caught by -Wall that had us make an extra call for each video packet

This commit is contained in:
Cameron Gutman 2015-05-15 01:38:44 +00:00
parent dcc1b932de
commit fcd2a20e01

View File

@ -445,7 +445,7 @@ void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length) {
}
lastPacketInStream = streamPacketIndex;
if (isFirstPacket &&
if (firstPacket &&
getSpecialSeq(&currentPos, &specialSeq) &&
isSeqFrameStart(&specialSeq) &&
specialSeq.data[specialSeq.offset + specialSeq.length] == 0x67)