[xiph-commits] r8898 - trunk/oggdsf/src/lib/helper/libOOOggChef

ozone at motherfish-iii.xiph.org ozone at motherfish-iii.xiph.org
Wed Feb 9 20:33:59 PST 2005


Author: ozone
Date: 2005-02-09 20:33:57 -0800 (Wed, 09 Feb 2005)
New Revision: 8898

Modified:
   trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp
Log:
oggdsf:
 * Re-compute the Annodex page checksum if we modify it!


Modified: trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp
===================================================================
--- trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp	2005-02-10 04:33:21 UTC (rev 8897)
+++ trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp	2005-02-10 04:33:57 UTC (rev 8898)
@@ -278,6 +278,9 @@
 	// denominator to indicate that the units are in DirectSeconds)
 	iLE_Math::Int64ToCharArr(inPresentationTime, locNumeratorPointer);
 	iLE_Math::Int64ToCharArr(10000000, locDenominatorPointer);
+
+	// Recompute the Ogg page's checksum
+	inOggPage->computeAndSetCRCChecksum();
 }
 
 #ifdef WIN32



More information about the commits mailing list