mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-18 06:10:06 +00:00
Fix many bugs in the initial code
This commit is contained in:
@@ -178,6 +178,7 @@ void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length) {
|
||||
if (decodingAvc) {
|
||||
PLENTRY entry = (PLENTRY) malloc(sizeof(*entry));
|
||||
if (entry != NULL) {
|
||||
entry->next = NULL;
|
||||
entry->length = currentPos.offset - start;
|
||||
entry->data = (char*) malloc(entry->length);
|
||||
if (entry->data == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user