Temporarily comment out validation of reserved field

FEC doesn't recover this field correctly with GFE 3.20.4.
This commit is contained in:
Cameron Gutman 2020-07-01 11:50:23 -05:00
parent 407d57a50a
commit 5c9935e11b

View File

@ -234,7 +234,10 @@ cleanup_packets:
LC_ASSERT(nvPacket->flags == droppedNvPacket->flags);
LC_ASSERT(nvPacket->frameIndex == droppedNvPacket->frameIndex);
LC_ASSERT(nvPacket->streamPacketIndex == droppedNvPacket->streamPacketIndex);
LC_ASSERT(memcmp(nvPacket->reserved, droppedNvPacket->reserved, sizeof(nvPacket->reserved)) == 0);
// TODO: Investigate assertion failure here with GFE 3.20.4. The remaining fields and
// video data are still recovered successfully, so this doesn't seem critical.
//LC_ASSERT(memcmp(nvPacket->reserved, droppedNvPacket->reserved, sizeof(nvPacket->reserved)) == 0);
// Check the data itself - use memcmp() and only loop if an error is detected
if (memcmp(nvPacket + 1, droppedNvPacket + 1, droppedDataLength)) {