[Datatype-cvs] h263/payload h263pyld.cpp,1.9.2.1.32.1,1.9.2.1.32.2

[Datatype-cvs] h263/payload h263pyld.cpp,1.9.2.1.32.1,1.9.2.1.32.2

huangrenjie at helixcommunity.org huangrenjie at helixcommunity.org
Thu Sep 16 09:53:55 PST 2010


Update of /cvsroot/datatype/h263/payload
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv16297

Modified Files:
      Tag: hxclient_3_6_2_atlas
	h263pyld.cpp 
Log Message:
change the meaning of pwi to be consistent


Index: h263pyld.cpp
===================================================================
RCS file: /cvsroot/datatype/h263/payload/h263pyld.cpp,v
retrieving revision 1.9.2.1.32.1
retrieving revision 1.9.2.1.32.2
diff -u -d -r1.9.2.1.32.1 -r1.9.2.1.32.2
--- h263pyld.cpp	16 Sep 2010 17:44:25 -0000	1.9.2.1.32.1
+++ h263pyld.cpp	16 Sep 2010 17:53:52 -0000	1.9.2.1.32.2
@@ -423,7 +423,7 @@
 
 		    bs.GetBits(4); // CPFMT (bits 1-4)
 
-		    int pwi = (bs.GetBits(9) + 1) * 4;
+		    int pwi = bs.GetBits(9);
 
 		    if (bs.GetBits(1)) // CPFMT (bit 14)
 		    {
@@ -437,7 +437,7 @@
 
 			if ((phi >= 1) && (phi <= 288))
 			{
-			    FrameDim.cx = pwi;
+			    FrameDim.cx = (pwi + 1) * 4;
 			    FrameDim.cy = phi * 4;
 			    res = HXR_OK;
 			}




More information about the Datatype-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.