[xiph-commits] r8527 - in trunk/oggdsf: build/oggcodecs sln/oggdsf_all src/lib/codecs/theora/filters/dsfTheoraDecoder src/lib/codecs/vorbis/filters/dsfVorbisDecoder src/lib/core/directshow/libDirectshowAbstracts src/lib/core/ogg/libOOOggSeek src/tools src/tools/OOOggSeekFileMaker src/tools/OOOggSeekFileQuery src/tools/OOOggSeekFileReader

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Wed Dec 22 23:58:21 PST 2004


Author: illiminable
Date: 2004-12-22 23:58:21 -0800 (Wed, 22 Dec 2004)
New Revision: 8527

Added:
   trunk/oggdsf/src/tools/OOOggSeekFileQuery/
   trunk/oggdsf/src/tools/OOOggSeekFileQuery/OOOggSeekFileQuery.cpp
   trunk/oggdsf/src/tools/OOOggSeekFileQuery/OOOggSeekFileQuery.vcproj
   trunk/oggdsf/src/tools/OOOggSeekFileQuery/ReadMe.txt
   trunk/oggdsf/src/tools/OOOggSeekFileQuery/stdafx.cpp
   trunk/oggdsf/src/tools/OOOggSeekFileQuery/stdafx.h
Modified:
   trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj
   trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
   trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeFilter.cpp
   trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.cpp
   trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformInputPin.cpp
   trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/AutoOggSeekTable.cpp
   trunk/oggdsf/src/tools/OOOggSeekFileMaker/OOOggSeekFileMaker.cpp
   trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.cpp
Log:
* New seek file query tool, to check the params of the seek table.
* Made sure there is always a zero point, else decrementing the iterator into the seek map for seeks to 0, wraps to garbage data.

Modified: trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj
===================================================================
--- trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj	2004-12-23 07:58:21 UTC (rev 8527)
@@ -63,6 +63,12 @@
         }
         "Entry"
         {
+        "MsmKey" = "8:_27330A8D56F34785A52342ADD956700F"
+        "OwnerKey" = "8:_UNDEFINED"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
         "MsmKey" = "8:_273D851AE72C4D2EA8020A712DBFE5A3"
         "OwnerKey" = "8:_UNDEFINED"
         "MsmSig" = "8:_UNDEFINED"
@@ -118,6 +124,12 @@
         "Entry"
         {
         "MsmKey" = "8:_46A378A9B03E4612A645053EDB884C20"
+        "OwnerKey" = "8:_27330A8D56F34785A52342ADD956700F"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_46A378A9B03E4612A645053EDB884C20"
         "OwnerKey" = "8:_FD547F0196C24DFBB9CAFCCEC06561BC"
         "MsmSig" = "8:_UNDEFINED"
         }
@@ -352,6 +364,12 @@
         "Entry"
         {
         "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
+        "OwnerKey" = "8:_27330A8D56F34785A52342ADD956700F"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
         "OwnerKey" = "8:_FD547F0196C24DFBB9CAFCCEC06561BC"
         "MsmSig" = "8:_UNDEFINED"
         }
@@ -370,6 +388,12 @@
         "Entry"
         {
         "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
+        "OwnerKey" = "8:_E4B8E67DA0E54BB3BB025BFCF536BF3B"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
         "OwnerKey" = "8:_E1E372FA955046E6928BF533EA0AE6C3"
         "MsmSig" = "8:_UNDEFINED"
         }
@@ -609,12 +633,6 @@
         }
         "Entry"
         {
-        "MsmKey" = "8:_AAE14E79FC554660B4E8984290E3E85D"
-        "OwnerKey" = "8:_E4B8E67DA0E54BB3BB025BFCF536BF3B"
-        "MsmSig" = "8:_UNDEFINED"
-        }
-        "Entry"
-        {
         "MsmKey" = "8:_AC8962A7F212481095173AB7C8C89025"
         "OwnerKey" = "8:_UNDEFINED"
         "MsmSig" = "8:_UNDEFINED"
@@ -1089,7 +1107,7 @@
         "Name" = "8:Microsoft Visual Studio"
         "ProductName" = "8:oggcodecs"
         "ProductCode" = "8:{D65F0073-A820-4085-B997-A061171595A7}"
-        "PackageCode" = "8:{3FAB9450-CD0F-4F1C-81D0-C013FFF7D57C}"
+        "PackageCode" = "8:{727A6F40-2315-4437-B2FB-B06B7E6CF430}"
         "UpgradeCode" = "8:{1A644FEB-7597-4FAB-AADE-C2C7C64C5984}"
         "RestartWWWService" = "11:FALSE"
         "RemovePreviousVersions" = "11:TRUE"
@@ -3212,20 +3230,6 @@
         }
         "MergeModule"
         {
-            "{35A69C6E-5BA4-440D-803D-762B59A45393}:_AAE14E79FC554660B4E8984290E3E85D"
-            {
-            "UseDynamicProperties" = "11:TRUE"
-            "IsDependency" = "11:TRUE"
-            "SourcePath" = "8:vc_user_crt71_rtl_x86_---.msm"
-                "Properties"
-                {
-                }
-            "LanguageId" = "3:0"
-            "Exclude" = "11:TRUE"
-            "Folder" = "8:"
-            "Feature" = "8:"
-            "IsolateTo" = "8:"
-            }
         }
         "ProjectOutput"
         {
@@ -3425,6 +3429,34 @@
                 {
                 }
             }
+            "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_27330A8D56F34785A52342ADD956700F"
+            {
+            "SourcePath" = "8:..\\..\\src\\tools\\oooggseekfilequery\\debug\\OOOggSeekFileQuery.exe"
+            "TargetName" = "8:"
+            "Tag" = "8:"
+            "Folder" = "8:_371AD289B6DB4693BDF7568485051F1E"
+            "Condition" = "8:"
+            "Transitive" = "11:FALSE"
+            "Vital" = "11:TRUE"
+            "ReadOnly" = "11:FALSE"
+            "Hidden" = "11:FALSE"
+            "System" = "11:FALSE"
+            "Permanent" = "11:FALSE"
+            "SharedLegacy" = "11:FALSE"
+            "PackageAs" = "3:1"
+            "Register" = "3:1"
+            "Exclude" = "11:FALSE"
+            "IsDependency" = "11:FALSE"
+            "IsolateTo" = "8:"
+            "ProjectOutputGroupRegister" = "3:1"
+            "OutputConfiguration" = "8:"
+            "OutputGroupCanonicalName" = "8:Built"
+            "OutputProjectGuid" = "8:{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}"
+            "ShowKeyOutput" = "11:TRUE"
+                "ExcludeFilters"
+                {
+                }
+            }
             "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_273D851AE72C4D2EA8020A712DBFE5A3"
             {
             "SourcePath" = "8:..\\..\\src\\lib\\codecs\\flac\\filters\\dsfNativeFLACSource\\Debug\\dsfNativeFLACSource.dll"

Modified: trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
===================================================================
--- trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-12-23 07:58:21 UTC (rev 8527)
@@ -1271,6 +1271,12 @@
 		{2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4} = {2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4}
 	EndProjectSection
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OOOggSeekFileQuery", "..\..\src\tools\OOOggSeekFileQuery\OOOggSeekFileQuery.vcproj", "{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}"
+	ProjectSection(ProjectDependencies) = postProject
+		{9A14F6AC-BC6E-401A-A300-07369BD6C5FE} = {9A14F6AC-BC6E-401A-A300-07369BD6C5FE}
+		{2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4} = {2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4}
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfiguration) = preSolution
 		Debug = Debug
@@ -2622,6 +2628,22 @@
 		{EE19996C-FEB3-4247-9EEF-490C854177B0}.Release_SSE.Build.0 = Release|Win32
 		{EE19996C-FEB3-4247-9EEF-490C854177B0}.Release_SSE2.ActiveCfg = Release|Win32
 		{EE19996C-FEB3-4247-9EEF-490C854177B0}.Release_SSE2.Build.0 = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Debug.ActiveCfg = Debug|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Debug.Build.0 = Debug|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Debug Unicode.ActiveCfg = Debug|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Debug Unicode.Build.0 = Debug|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.MakeFile.ActiveCfg = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.MakeFile.Build.0 = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release.ActiveCfg = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release.Build.0 = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release Unicode.ActiveCfg = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release Unicode.Build.0 = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release_NoDotNET.ActiveCfg = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release_NoDotNET.Build.0 = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release_SSE.ActiveCfg = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release_SSE.Build.0 = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release_SSE2.ActiveCfg = Release|Win32
+		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release_SSE2.Build.0 = Release|Win32
 	EndGlobalSection
 	GlobalSection(SolutionItems) = postSolution
 	EndGlobalSection

Modified: trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeFilter.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeFilter.cpp	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeFilter.cpp	2004-12-23 07:58:21 UTC (rev 8527)
@@ -324,13 +324,15 @@
 	BYTE* locBuff = NULL;
 	//Get a source poitner into the input buffer
 	locHR = inInputSample->GetPointer(&locBuff);
+
+	//TODO::: This should be after the return value check !!
 	BYTE* locNewBuff = new unsigned char[inInputSample->GetActualDataLength()];
 	memcpy((void*)locNewBuff, (const void*)locBuff, inInputSample->GetActualDataLength());
 
 
-	if (FAILED(locHR)) {
+	if (locHR != S_OK) {
 		//debugLog<<"Receive : Get pointer failed..."<<locHR<<endl;	
-		return locHR;
+		return S_FALSE;
 	} else {
 		//debugLog<<"Receive : Get pointer succeeds..."<<endl;	
 		//New start time hacks

Modified: trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.cpp	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.cpp	2004-12-23 07:58:21 UTC (rev 8527)
@@ -217,11 +217,14 @@
 	long locErr = fish_sound_decode(mFishSound, inBuf, inNumBytes);
 	//FIX::: Do something here ?
 	if (locErr < 0) {
+		DbgLog((LOG_TRACE,1,TEXT("decodeData : fishsound returns < 0")));
+		return S_FALSE;
 		//debugLog <<"** Fish Sound error **"<<endl;
 	} else {
+		return S_OK;
 		//debugLog << "Fish Sound OK >=0 "<<endl;
 	}
-	return locErr;
+	//return locErr;
 }
 
 

Modified: trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformInputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformInputPin.cpp	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformInputPin.cpp	2004-12-23 07:58:21 UTC (rev 8527)
@@ -120,7 +120,7 @@
 		}
 	} else {
 		//Not streaming - Bail out.
-		return locHR;
+		return S_FALSE;
 	}
 }
 

Modified: trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/AutoOggSeekTable.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/AutoOggSeekTable.cpp	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/AutoOggSeekTable.cpp	2004-12-23 07:58:21 UTC (rev 8527)
@@ -253,6 +253,8 @@
 	//debugLog<<"Anx Build table : "<<mFileName<<endl;
 	if (mFileName.find("http") != 0) {
 		
+		mSeekMap.clear();
+		addSeekPoint(0, 0);
 		//debugLog<<"Opening file... "<<endl;
 		mFile.open(mFileName.c_str(), ios_base::in | ios_base::binary);
 		const unsigned long BUFF_SIZE = 4096;

Modified: trunk/oggdsf/src/tools/OOOggSeekFileMaker/OOOggSeekFileMaker.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileMaker/OOOggSeekFileMaker.cpp	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/tools/OOOggSeekFileMaker/OOOggSeekFileMaker.cpp	2004-12-23 07:58:21 UTC (rev 8527)
@@ -45,9 +45,10 @@
 int main(int argc, char * argv[])
 #endif
 {
+	int x;
+	cin >> x;
 
 
-
 	if (argc < 3) {
 		cout<<"Usage : OOOggSeekFileMaker <in_ogg_file> <out_seek_table_file>"<<endl;
 	} else {

Added: trunk/oggdsf/src/tools/OOOggSeekFileQuery/OOOggSeekFileQuery.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileQuery/OOOggSeekFileQuery.cpp	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/tools/OOOggSeekFileQuery/OOOggSeekFileQuery.cpp	2004-12-23 07:58:21 UTC (rev 8527)
@@ -0,0 +1,75 @@
+// OOOggSeekFileQuery.cpp : Defines the entry point for the console application.
+//
+// OOOggSeekFileReader.cpp : Defines the entry point for the console application.
+//
+
+#include "stdafx.h"
+
+#include "illicoreconfig.h"
+#include "iLE_Math.h"
+#include "StringHelper.h"
+#include "OggSeekTable.h"
+#include <iostream>
+#include <fstream>
+using namespace std;
+
+#ifdef WIN32
+int __cdecl _tmain(int argc, _TCHAR* argv[])
+#else
+int main(int argc, char *argv[])
+#endif
+{
+
+	if (argc < 2) {
+		cout << "Usage : OOOggSeekFileQuery <seek_table_file>"<<endl;
+
+	} else {
+		LOOG_INT64 timePoint;
+		unsigned long bytePos;
+
+		fstream seekFile;
+		seekFile.open(argv[1], ios_base::in | ios_base::binary);
+	
+		unsigned char* buff = new unsigned char[16];
+		unsigned long pointCount = 0;
+
+		OggSeekTable seekTable;
+		while (!seekFile.eof()) {
+			//Read the time
+			seekFile.read((char*)buff, 8);
+			if (seekFile.gcount() == 8) {
+				timePoint = iLE_Math::CharArrToInt64(buff);
+
+
+				seekFile.read((char*)buff, 4);
+				bytePos = iLE_Math::charArrToULong(buff);
+
+				seekTable.addSeekPoint(timePoint, bytePos);
+				pointCount++;
+			}
+		}
+
+		delete [] buff;
+
+		cout<<"Constructed seek table with "<<pointCount<<" points."<<endl;
+		cout<<endl;
+		string query = "";
+		LOOG_INT64 queryInt;
+		OggSeekTable::tSeekPair response;
+		while (true) {
+			cout<<"Enter a time : ";
+			cin>>query;
+			
+			if (query == "") {
+				break;
+			}
+
+			queryInt = StringHelper::stringToNum(query);
+			cout<<endl;
+			response = seekTable.getStartPos(queryInt);
+			cout<<"Query - "<<queryInt<<" : closest time  "<<response.first<<" maps to byte position "<<response.second<<endl;
+
+		}
+	}
+	return 0;
+}

Added: trunk/oggdsf/src/tools/OOOggSeekFileQuery/OOOggSeekFileQuery.vcproj
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileQuery/OOOggSeekFileQuery.vcproj	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/tools/OOOggSeekFileQuery/OOOggSeekFileQuery.vcproj	2004-12-23 07:58:21 UTC (rev 8527)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.10"
+	Name="OOOggSeekFileQuery"
+	ProjectGUID="{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}"
+	Keyword="Win32Proj">
+	<Platforms>
+		<Platform
+			Name="Win32"/>
+	</Platforms>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="Debug"
+			IntermediateDirectory="Debug"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="..\..\lib\core\ogg\libOOOgg;.;..\..\lib\helper\libilliCore;..\..\lib\core\ogg\libOOOggSeek"
+				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+				MinimalRebuild="TRUE"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				UsePrecompiledHeader="3"
+				WarningLevel="4"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="4"
+				CallingConvention="2"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/OOOggSeekFileQuery.exe"
+				LinkIncremental="2"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/OOOggSeekFileQuery.pdb"
+				SubSystem="1"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="Release"
+			IntermediateDirectory="Release"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				AdditionalIncludeDirectories="..\..\lib\core\ogg\libOOOgg;.;..\..\lib\helper\libilliCore;..\..\lib\core\ogg\libOOOggSeek"
+				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+				RuntimeLibrary="2"
+				UsePrecompiledHeader="3"
+				WarningLevel="4"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"
+				CallingConvention="2"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/OOOggSeekFileQuery.exe"
+				LinkIncremental="1"
+				GenerateDebugInformation="TRUE"
+				SubSystem="1"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+			<File
+				RelativePath=".\OOOggSeekFileQuery.cpp">
+			</File>
+			<File
+				RelativePath=".\stdafx.cpp">
+				<FileConfiguration
+					Name="Debug|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"/>
+				</FileConfiguration>
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc;xsd"
+			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+			<File
+				RelativePath=".\stdafx.h">
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+		</Filter>
+		<File
+			RelativePath=".\ReadMe.txt">
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

Added: trunk/oggdsf/src/tools/OOOggSeekFileQuery/ReadMe.txt
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileQuery/ReadMe.txt	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/tools/OOOggSeekFileQuery/ReadMe.txt	2004-12-23 07:58:21 UTC (rev 8527)
@@ -0,0 +1,32 @@
+========================================================================
+    CONSOLE APPLICATION : OOOggSeekFileQuery Project Overview
+========================================================================
+
+AppWizard has created this OOOggSeekFileQuery application for you.  
+This file contains a summary of what you will find in each of the files that
+make up your OOOggSeekFileQuery application.
+
+
+OOOggSeekFileQuery.vcproj
+    This is the main project file for VC++ projects generated using an Application Wizard. 
+    It contains information about the version of Visual C++ that generated the file, and 
+    information about the platforms, configurations, and project features selected with the
+    Application Wizard.
+
+OOOggSeekFileQuery.cpp
+    This is the main application source file.
+
+/////////////////////////////////////////////////////////////////////////////
+Other standard files:
+
+StdAfx.h, StdAfx.cpp
+    These files are used to build a precompiled header (PCH) file
+    named OOOggSeekFileQuery.pch and a precompiled types file named StdAfx.obj.
+
+/////////////////////////////////////////////////////////////////////////////
+Other notes:
+
+AppWizard uses "TODO:" comments to indicate parts of the source code you
+should add to or customize.
+
+/////////////////////////////////////////////////////////////////////////////

Added: trunk/oggdsf/src/tools/OOOggSeekFileQuery/stdafx.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileQuery/stdafx.cpp	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/tools/OOOggSeekFileQuery/stdafx.cpp	2004-12-23 07:58:21 UTC (rev 8527)
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// OOOggSeekFileQuery.pch will be the pre-compiled header
+// stdafx.obj will contain the pre-compiled type information
+
+#include "stdafx.h"
+
+// TODO: reference any additional headers you need in STDAFX.H
+// and not in this file

Added: trunk/oggdsf/src/tools/OOOggSeekFileQuery/stdafx.h
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileQuery/stdafx.h	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/tools/OOOggSeekFileQuery/stdafx.h	2004-12-23 07:58:21 UTC (rev 8527)
@@ -0,0 +1,12 @@
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently
+//
+
+#pragma once
+
+
+#include <iostream>
+#include <tchar.h>
+
+// TODO: reference additional headers your program requires here

Modified: trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.cpp	2004-12-23 05:36:26 UTC (rev 8526)
+++ trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.cpp	2004-12-23 07:58:21 UTC (rev 8527)
@@ -39,6 +39,7 @@
 				bytePos = iLE_Math::charArrToULong(buff);
 
 				cout << "Seek point "<<pointCount<<" : Time = "<<timePoint<<", Byte Offset = "<<bytePos<<endl;
+				pointCount++;
 			}
 		}
 



More information about the commits mailing list