Fix a straggler
This commit is contained in:
parent
db2924f6f7
commit
c29d7efe7a
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue