out!
authorjhurst <jhurst@cinecert.com>
Wed, 16 Jun 2010 18:21:03 +0000 (18:21 +0000)
committerjhurst <>
Wed, 16 Jun 2010 18:21:03 +0000 (18:21 +0000)
README
src/PCMParserList.cpp

diff --git a/README b/README
index 610ed20ccec3593788d5bf386478b3d6da46532e..a3e6ce1de7fca1c07f577e44656f713d89500d0c 100755 (executable)
--- a/README
+++ b/README
@@ -112,12 +112,13 @@ utilities all respond to -h.
 
 Change History
 
-2010.06.09 -  bug fixes, v1.6.36
+2010.06.16 -  bug fixes, v1.6.36
  o Added support for new Edit Rates to asdcp-test.cpp.
  o Expanded timed-text file reader in asdcp-test.cpp.
  o Fixed large BER value encoding (plaintext) and decoding
    (plaintext and ciphertext). This feature was introduced in
    v1.5.31).
+ o Fixed AvgBps value for multi-channel Wave input.
 
 
 2010.05.13 -  bug fixes, enhancements, v1.6.34
index b7c2e599a22144e224ce9525b7e472b7f98a204d..1fc434dd341428cb3c1e2424369ae20f9e03ba2b 100755 (executable)
@@ -157,7 +157,7 @@ ASDCP::PCMParserList::OpenRead(ui32_t argc, const char** argv, Rational& Picture
     }
 
   m_ADesc.ChannelCount = m_ChannelCount;
-  m_ADesc.AvgBps = m_ADesc.AvgBps * m_ChannelCount;
+  m_ADesc.AvgBps = ( m_ADesc.AvgBps  / m_ADesc.ChannelCount ) * m_ChannelCount;
 
   if ( ASDCP_FAILURE(result) )
     clear();