Remove extra spacing and fix indentation

This commit is contained in:
Michelle Bergeron 2014-01-29 02:15:49 -05:00
parent c04a8e9b4c
commit da9433fb0a
7 changed files with 6 additions and 12 deletions

View File

@ -66,10 +66,10 @@ static PNVCTL_PACKET_HEADER readNvctlPacket(void) {
memcpy(fullPacket, &staticHeader, sizeof(staticHeader)); memcpy(fullPacket, &staticHeader, sizeof(staticHeader));
if (staticHeader.payloadLength != 0) { if (staticHeader.payloadLength != 0) {
err = recv(ctlSock, (char*) (fullPacket + 1), staticHeader.payloadLength, 0); err = recv(ctlSock, (char*) (fullPacket + 1), staticHeader.payloadLength, 0);
if (err != staticHeader.payloadLength) { if (err != staticHeader.payloadLength) {
free(fullPacket); free(fullPacket);
return NULL; return NULL;
} }
} }
return fullPacket; return fullPacket;

View File

@ -10,7 +10,6 @@
#include <pthread.h> #include <pthread.h>
#endif #endif
#ifdef _WIN32 #ifdef _WIN32
# if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP # if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
# define LC_WINDOWS_PHONE # define LC_WINDOWS_PHONE

View File

@ -216,6 +216,3 @@ int PltWaitForEvent(PLT_EVENT *event) {
pthread_mutex_unlock(&event->mutex); pthread_mutex_unlock(&event->mutex);
#endif #endif
} }

View File

@ -246,4 +246,3 @@ void queueRtpPacket(PRTP_PACKET rtpPacket, int length) {
processRtpPayload((PNV_VIDEO_PACKET) (rtpPacket + 1), length - sizeof(*rtpPacket)); processRtpPayload((PNV_VIDEO_PACKET) (rtpPacket + 1), length - sizeof(*rtpPacket));
} }

View File

@ -231,4 +231,3 @@ int startVideoStream(void* rendererContext, int drFlags) {
return 0; return 0;
} }