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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] wav/fileformat wvffplin.cpp,1.12.2.4,1.12.2.5
From:       gahluwalia () helixcommunity ! org
Date:       2011-01-28 9:31:26
Message-ID: 201101280931.p0S9Vih7008000 () mailer ! progressive-comp ! com
[Download RAW message or body]

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

Modified Files:
      Tag: hxclient_3_1_0_atlas
	wvffplin.cpp 
Log Message:
Fix for Bug 12672

Index: wvffplin.cpp
===================================================================
RCS file: /cvsroot/datatype/wav/fileformat/wvffplin.cpp,v
retrieving revision 1.12.2.4
retrieving revision 1.12.2.5
diff -u -d -r1.12.2.4 -r1.12.2.5
--- wvffplin.cpp	14 Jan 2010 04:30:45 -0000	1.12.2.4
+++ wvffplin.cpp	28 Jan 2011 09:31:20 -0000	1.12.2.5
@@ -582,10 +582,10 @@
 	m_pFFResponse->StreamDone(0);
 	return HXR_OK;
     }
-
+    UINT32 ulTemp = m_ulPacketSize;
     if (m_ulDataSizeInBytes - m_ulBytesSent < m_ulPacketSize)
     {
-	m_ulPacketSize = m_ulDataSizeInBytes - m_ulBytesSent;
+	ulTemp = m_ulDataSizeInBytes - m_ulBytesSent;
     }
 
     // We are being asked to get the next packet and we have sent
@@ -596,7 +596,7 @@
 
     // Actually read...
     // See RIFFReadDone() for next "step" of GetPacket()
-    m_pRiffReader->Read(m_ulPacketSize); 
+    m_pRiffReader->Read(ulTemp); 
 
     return HXR_OK;
 }


_______________________________________________
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