[matroska] r1223 - trunk/libmatroska/src

[email protected] Thu, 13 Oct 2005 02:18:09 +0400 (MSD)
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-10-13 02:18:07 +0400 (Thu, 13 Oct 2005)
New Revision: 1223

Modified:
   trunk/libmatroska/src/KaxBlock.cpp
Log:
libmatroska: fix for the non-forced SimpleBlock use

Modified: trunk/libmatroska/src/KaxBlock.cpp
===================================================================
--- trunk/libmatroska/src/KaxBlock.cpp	2005-10-12 22:12:02 UTC (rev 1222)
+++ trunk/libmatroska/src/KaxBlock.cpp	2005-10-12 22:18:07 UTC (rev 1223)
@@ -1028,6 +1028,9 @@
 			// _TODO_ : move all the data to the blockgroup
 			// -> while(frame) AddFrame(myBuffer)
 			delete old_simpleblock;
+		} else {
+			Block.group = new KaxBlockGroup();
+			Block.group->SetParent(*ParentCluster);
 		}
 	}