[xiph-commits] r8923 - in trunk/oggdsf: build/NSIS/Release src/lib/core/directshow/dsfOggDemux

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Mon Feb 14 21:26:27 PST 2005


Author: illiminable
Date: 2005-02-14 21:26:16 -0800 (Mon, 14 Feb 2005)
New Revision: 8923

Modified:
   trunk/oggdsf/build/NSIS/Release/oggcodecs_release.nsi
   trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/HTTPFileSource.cpp
Log:
* remove the sleep 10000 from the installer script


Modified: trunk/oggdsf/build/NSIS/Release/oggcodecs_release.nsi
===================================================================
--- trunk/oggdsf/build/NSIS/Release/oggcodecs_release.nsi	2005-02-15 04:14:12 UTC (rev 8922)
+++ trunk/oggdsf/build/NSIS/Release/oggcodecs_release.nsi	2005-02-15 05:26:16 UTC (rev 8923)
@@ -178,7 +178,7 @@
   ExecWait 'regsvr32 "/s" "$INSTDIR\dsfAnxMux.dll"'
 
 
-  Sleep 10000
+  ;Sleep 10000
 ; Shortcuts
   !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
   !insertmacro MUI_STARTMENU_WRITE_END

Modified: trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/HTTPFileSource.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/HTTPFileSource.cpp	2005-02-15 04:14:12 UTC (rev 8922)
+++ trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/HTTPFileSource.cpp	2005-02-15 05:26:16 UTC (rev 8923)
@@ -169,6 +169,7 @@
 	int locNumRead = 0;
 	char* locBuff = NULL;
 	DWORD locCommand = 0;
+	bool locSeenAny = false;
 
 	locBuff = new char[RECV_BUFF_SIZE];
 
@@ -210,6 +211,15 @@
 				//Dump to file
 				//fileDump.write(locBuff, locNumRead);
 			} else {
+				//if (!locSeenAny) {
+				//	locSeenAny = true;
+				//	//Start of response
+				//	if (locBuff[0] != '2') {
+				//		mWasError = true;
+				//		delete[] locBuff;
+				//		return;
+				//	}
+				//}
 				string locTemp = locBuff;
 				//debugLog<<"Binary follows... "<<endl<<locTemp<<endl;
 				size_t locPos = locTemp.find("\r\n\r\n");



More information about the commits mailing list