summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xREADME3
-rwxr-xr-xsrc/PCMParserList.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/README b/README
index 610ed20..a3e6ce1 100755
--- 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
diff --git a/src/PCMParserList.cpp b/src/PCMParserList.cpp
index b7c2e59..1fc434d 100755
--- a/src/PCMParserList.cpp
+++ b/src/PCMParserList.cpp
@@ -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();