mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 14:21:30 +00:00
Update video code for GFE 2.1.1
This commit is contained in:
@@ -63,7 +63,7 @@ static void ReceiveThreadProc(void* context) {
|
||||
int bufferSize;
|
||||
char* buffer;
|
||||
|
||||
bufferSize = configuration.packetSize + sizeof(RTP_PACKET);
|
||||
bufferSize = configuration.packetSize + MAX_RTP_HEADER_SIZE;
|
||||
buffer = (char*)malloc(bufferSize);
|
||||
if (buffer == NULL) {
|
||||
Limelog("Receive thread terminating\n");
|
||||
|
||||
Reference in New Issue
Block a user