mirror of
https://github.com/Maschell/StreamingPluginWiiU.git
synced 2024-11-14 00:45:13 +01:00
Add minor formatting and clean up
This commit is contained in:
parent
364f45854c
commit
327f1e08e5
@ -60,6 +60,7 @@ void MJPEGStreamServer::sendJPEG(uint8_t * buffer, uint64_t size) {
|
||||
char str[90];
|
||||
snprintf(str, 90, "\r\n--boundary\r\nContent-Type: image/jpeg\r\nContent-Length: %llu \r\n\r\n", size);
|
||||
|
||||
|
||||
mysendwait(clientfd, str, strlen(str));
|
||||
mysendwait(clientfd, buffer, size);
|
||||
|
||||
@ -89,9 +90,6 @@ BOOL MJPEGStreamServer::whileLoop() {
|
||||
}
|
||||
OSSleepTicks(OSMicrosecondsToTicks(500));
|
||||
}
|
||||
if((uint32_t) message.message == 0x1234) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if((uint32_t) message.message == 0xDEADBEEF) {
|
||||
DEBUG_FUNCTION_LINE("We should exit\n");
|
||||
|
Loading…
Reference in New Issue
Block a user