mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-28 08:44:21 +00:00
Add separate LC_ASSERT_VT() for asserts that only apply for valid traffic
This commit is contained in:
1 parent
574ad6e676
commit
620b4be477
7 files changed
+89
-74
No files matched your search
@@ -135,6 +135,7 @@ static void VideoReceiveThreadProc(void* context) {
|
||||
firstDataTimeMs = PltGetMillis();
|
||||
}
|
||||
|
||||
#ifndef LC_FUZZING
|
||||
if (!receivedFullFrame) {
|
||||
uint64_t now = PltGetMillis();
|
||||
|
||||
@@ -144,6 +145,7 @@ static void VideoReceiveThreadProc(void* context) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (err < (int)sizeof(RTP_PACKET)) {
|
||||
// Runt packet
|
||||
|
||||
Reference in new issue
Block a user