diff options
| author | jhurst <jhurst@cinecert.com> | 2008-03-12 06:55:03 +0000 |
|---|---|---|
| committer | jhurst <> | 2008-03-12 06:55:03 +0000 |
| commit | ff0838d01bd6c75b5e28a6f2d25d549ba7ca6388 (patch) | |
| tree | b17ff11212063036205c90fd7ea429c89f2b67ba /src/PCMParserList.cpp | |
| parent | 6a5f65b2430d72c593a5ba5aa82c374848ae26a8 (diff) | |
fixed AvgBps in PCM files
Diffstat (limited to 'src/PCMParserList.cpp')
| -rwxr-xr-x | src/PCMParserList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PCMParserList.cpp b/src/PCMParserList.cpp index 2679162..8d80752 100755 --- a/src/PCMParserList.cpp +++ b/src/PCMParserList.cpp @@ -125,7 +125,6 @@ ASDCP::PCMParserList::OpenRead(ui32_t argc, const char** argv, Rational& Picture else m_ADesc.BlockAlign += I->ADesc.BlockAlign; - // result = I->CmpADesc(m_ADesc); m_ChannelCount += I->ADesc.ChannelCount; } @@ -138,7 +137,8 @@ ASDCP::PCMParserList::OpenRead(ui32_t argc, const char** argv, Rational& Picture } m_ADesc.ChannelCount = m_ChannelCount; - + m_ADesc.AvgBps = m_ADesc.AvgBps * m_ChannelCount; + if ( ASDCP_FAILURE(result) ) clear(); |
