diff --git a/limelight-common/RtspConnection.c b/limelight-common/RtspConnection.c index 7dcc300..74b7993 100644 --- a/limelight-common/RtspConnection.c +++ b/limelight-common/RtspConnection.c @@ -10,6 +10,8 @@ static void* transactRtspMessage(IP_ADDRESS addr, void* message) { char responseBuffer[RTSP_MAX_RESP_SIZE]; int offset; void* responseMsg = NULL; + char* serializedMessage; + int messageLen; sock = connectTcpSocket(addr, 48010); if (sock == INVALID_SOCKET) { @@ -17,8 +19,8 @@ static void* transactRtspMessage(IP_ADDRESS addr, void* message) { } enableNoDelay(sock); - char* serializedMessage = NULL; // FIXME - int messageLen = 0; // FIXME + serializedMessage = NULL; // FIXME + messageLen = 0; // FIXME // Send our message err = send(sock, serializedMessage, messageLen, 0); diff --git a/limelight-common/VideoDepacketizer.c b/limelight-common/VideoDepacketizer.c index 10a8161..202fca6 100644 --- a/limelight-common/VideoDepacketizer.c +++ b/limelight-common/VideoDepacketizer.c @@ -251,6 +251,7 @@ void processRtpPayloadFast(PNV_VIDEO_PACKET videoPacket, BUFFER_DESC location) { void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length) { BUFFER_DESC currentPos, specialSeq; int isFirstPacket; + int streamPacketIndex; currentPos.data = (char*) (videoPacket + 1); currentPos.offset = 0; @@ -349,7 +350,7 @@ void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length) { } } - int streamPacketIndex = videoPacket->streamPacketIndex; + streamPacketIndex = videoPacket->streamPacketIndex; if (streamPacketIndex != (int) (lastPacketInStream + 1)) { // Packets were lost so report this to the server connectionLostPackets(lastPacketInStream, streamPacketIndex);