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