[xiph-commits] r9105 - trunk/oggdsf/src/lib/core/directshow/dsfAnxMux

ozone at motherfish-iii.xiph.org ozone at motherfish-iii.xiph.org
Sun Apr 3 06:56:36 PDT 2005


Author: ozone
Date: 2005-04-03 06:56:34 -0700 (Sun, 03 Apr 2005)
New Revision: 9105

Modified:
   trunk/oggdsf/src/lib/core/directshow/dsfAnxMux/AnxMuxInputPin.cpp
Log:
oggcodecs:
 * CMML uses a bit-granuleshift of 32, not 5 (the CMML BOS page has a granuleshift field of 5, but that's encoded as the exponent for the number of granuleshift bits!)


Modified: trunk/oggdsf/src/lib/core/directshow/dsfAnxMux/AnxMuxInputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfAnxMux/AnxMuxInputPin.cpp	2005-04-02 04:10:20 UTC (rev 9104)
+++ trunk/oggdsf/src/lib/core/directshow/dsfAnxMux/AnxMuxInputPin.cpp	2005-04-03 13:56:34 UTC (rev 9105)
@@ -176,7 +176,7 @@
 
 			//ANX3::: 1 for anx 2, 2 for anx 3.
 			if ((mAnxVersionMajor == 3) && (mAnxVersionMinor == 0)) {
-				mMuxStream->setConversionParams(locCMML->granuleNumerator, locCMML->granuleDenominator, 10000000, 5);
+				mMuxStream->setConversionParams(locCMML->granuleNumerator, locCMML->granuleDenominator, 10000000, 32);
 				//ZZZZZ:::: sould be 3
 				locNumHeaders = 3;
 			} else {



More information about the commits mailing list