Fix a straggler

This commit is contained in:
Cameron Gutman 2014-08-17 21:03:28 -07:00
parent db2924f6f7
commit c29d7efe7a

View File

@ -294,6 +294,7 @@ void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length) {
int frameIndex;
char flags;
int firstPacket;
int streamPacketIndex;
// Mask the top 8 bits from the SPI
videoPacket->streamPacketIndex >>= 8;
@ -308,7 +309,7 @@ void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length) {
firstPacket = isFirstPacket(flags);
// Drop duplicates or re-ordered packets
int streamPacketIndex = videoPacket->streamPacketIndex;
streamPacketIndex = videoPacket->streamPacketIndex;
if (isBeforeSigned((short) streamPacketIndex, (short) (lastPacketInStream + 1), 0)) {
return;
}