[Datatype-cvs] mpeg2ts/fileformat/payload h264payload.cpp,1.4,1.5

[Datatype-cvs] mpeg2ts/fileformat/payload h264payload.cpp,1.4,1.5

qluo at helixcommunity.org qluo at helixcommunity.org
Thu Apr 8 16:11:59 PST 2010


Update of /cvsroot/datatype/mpeg2ts/fileformat/payload
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv29164

Modified Files:
	h264payload.cpp 
Log Message:
SPS/PPS parsing fix.


Index: h264payload.cpp
===================================================================
RCS file: /cvsroot/datatype/mpeg2ts/fileformat/payload/h264payload.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- h264payload.cpp	27 Mar 2010 14:48:08 -0000	1.4
+++ h264payload.cpp	9 Apr 2010 00:11:56 -0000	1.5
@@ -288,7 +288,7 @@
         {
             // NAL unit type is SPS
             bSPS = TRUE;
-            pSPSPPS = pData + 4;
+            pSPSPPS = pData + 3;
 
             if (!bHasConfigurationInfo)
             {
@@ -304,7 +304,7 @@
         {
             // NAL unit type is PPS
             bSPS = FALSE;
-            pSPSPPS = pData + 4;
+            pSPSPPS = pData + 3;
         }
 
         pData += 4;




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.