[xiph-commits] r8045 - trunk/oggdsf/src/lib/core/ogg/libOOOgg

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Sun Oct 17 10:12:14 PDT 2004


Author: illiminable
Date: 2004-10-17 10:12:14 -0700 (Sun, 17 Oct 2004)
New Revision: 8045

Modified:
   trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageInterleaver.cpp
   trunk/oggdsf/src/lib/core/ogg/libOOOgg/StampedOggPacket.h
Log:
* Make private constructors/assign on StampedPacket.

Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageInterleaver.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageInterleaver.cpp	2004-10-17 16:55:53 UTC (rev 8044)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageInterleaver.cpp	2004-10-17 17:12:14 UTC (rev 8045)
@@ -41,6 +41,8 @@
 OggPageInterleaver::~OggPageInterleaver(void)
 {
 	//debugLog.close();
+
+	//Need to delete stream objects
 }
 
 OggMuxStream* OggPageInterleaver::newStream() {

Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/StampedOggPacket.h
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/StampedOggPacket.h	2004-10-17 16:55:53 UTC (rev 8044)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/StampedOggPacket.h	2004-10-17 17:12:14 UTC (rev 8045)
@@ -66,4 +66,8 @@
 protected:
 	__int64 mStartTime;
 	__int64 mEndTime;
+
+private:
+	StampedOggPacket& operator=(const StampedOggPacket& other);  /* Don't assign me */
+	StampedOggPacket(const StampedOggPacket& other); /* Don't copy me */
 };



More information about the commits mailing list