mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 08:55:48 +00:00
Remove extra spacing and fix indentation
This commit is contained in:
parent
c04a8e9b4c
commit
da9433fb0a
@ -98,4 +98,4 @@ int BbPut(PBYTE_BUFFER buff, char c) {
|
||||
buff->position += sizeof(c);
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
@ -66,10 +66,10 @@ static PNVCTL_PACKET_HEADER readNvctlPacket(void) {
|
||||
memcpy(fullPacket, &staticHeader, sizeof(staticHeader));
|
||||
if (staticHeader.payloadLength != 0) {
|
||||
err = recv(ctlSock, (char*) (fullPacket + 1), staticHeader.payloadLength, 0);
|
||||
if (err != staticHeader.payloadLength) {
|
||||
free(fullPacket);
|
||||
return NULL;
|
||||
}
|
||||
if (err != staticHeader.payloadLength) {
|
||||
free(fullPacket);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
return fullPacket;
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
# if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
|
||||
# define LC_WINDOWS_PHONE
|
||||
|
@ -79,4 +79,4 @@ void cleanupPlatformSockets(void) {
|
||||
WSACleanup();
|
||||
#else
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@ -216,6 +216,3 @@ int PltWaitForEvent(PLT_EVENT *event) {
|
||||
pthread_mutex_unlock(&event->mutex);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -246,4 +246,3 @@ void queueRtpPacket(PRTP_PACKET rtpPacket, int length) {
|
||||
|
||||
processRtpPayload((PNV_VIDEO_PACKET) (rtpPacket + 1), length - sizeof(*rtpPacket));
|
||||
}
|
||||
|
||||
|
@ -231,4 +231,3 @@ int startVideoStream(void* rendererContext, int drFlags) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user