ports/net/DarwinStreamingServer/files/patch-APIModules::QTSSReflectorModule::ReflectorStream.cpp
Norikatsu Shigemura ab62361816 Fix little endian problem.
Submitted by:	Denis Ahrens <denis@berlin.ccc.de>
		Steve Wills <steve@stevenwills.com>
Obtained from:	http://lists.apple.com/archives/streaming-server-users/2004/May/msg00000.html
2004-12-16 14:38:53 +00:00

11 lines
450 B
C++

--- APIModules/QTSSReflectorModule/ReflectorStream.cpp.orig Sat Aug 16 08:52:46 2003
+++ APIModules/QTSSReflectorModule/ReflectorStream.cpp Thu Dec 16 23:29:41 2004
@@ -173,7 +173,7 @@
theRRWriter++;
*theRRWriter = htonl(theSsrc);
theRRWriter++;
- *theRRWriter = FOUR_CHARS_TO_INT('Q','T','S','S');
+ *theRRWriter = htonl(FOUR_CHARS_TO_INT('Q','T','S','S'));
theRRWriter++;
*theRRWriter = htonl(0);
theRRWriter++;