[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] mp4/fileformat atomizer.cpp, 1.18.8.11, 1.18.8.11.34.1
From:       jieliu () helixcommunity ! org
Date:       2013-06-21 4:26:45
[Download RAW message or body]

Update of /cvsroot/datatype/mp4/fileformat
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv23793

Modified Files:
      Tag: jupiter
	atomizer.cpp 
Log Message:
Fix bug:
RPD-1134 RP pop up "A General Error has occurred" when playback special mov \
clip(H.264_AAC_LC), work well by QT

The variable m_ulPendingSeekSize in CAtomizer::SeekData is always 0 before my \
modification, this cause the coming read error in analysis of the clip header.

Index: atomizer.cpp
===================================================================
RCS file: /cvsroot/datatype/mp4/fileformat/atomizer.cpp,v
retrieving revision 1.18.8.11
retrieving revision 1.18.8.11.34.1
diff -u -d -r1.18.8.11 -r1.18.8.11.34.1
--- atomizer.cpp	9 Oct 2011 07:34:22 -0000	1.18.8.11
+++ atomizer.cpp	21 Jun 2013 04:26:37 -0000	1.18.8.11.34.1
@@ -376,6 +376,8 @@
 	return HXR_UNEXPECTED;
     }
 
+    ULONG32 ulRelativeOffset = bRelative ? ulOffset : (ulOffset > m_ulCurrentOffset \
? ulOffset - m_ulCurrentOffset : 0); +
     if (bRelative)
     {
 	m_ulCurrentOffset += ulOffset;
@@ -398,7 +400,7 @@
        else
        {
            m_eCallbackType = eTypeSeekInHeaderBuffer;    
-           m_ulPendingSeekSize = bRelative ? ulOffset : (ulOffset - \
m_ulCurrentOffset); +           m_ulPendingSeekSize = ulRelativeOffset;
            if (!m_pLocalHeaderReadCallback->IsCallbackPending())
            {
                m_pLocalHeaderReadCallback->ScheduleRelative(m_pScheduler, 0);    


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic