diff options
author | v0lt <v0lt@users.sourceforge.net> | 2012-03-24 23:22:49 +0400 |
---|---|---|
committer | v0lt <v0lt@users.sourceforge.net> | 2012-03-24 23:22:49 +0400 |
commit | c4b7ffe210554f2ce0281e02a4cef273544a9356 (patch) | |
tree | 6d3def5bebfc54a25aa082ad1a088b0b26e39a63 /src/DSUtil/AudioParser.cpp | |
parent | 8287c53c857fa6f3338c7db099968bc8e7094eeb (diff) |
cfixed typos, removed duplicates, clean up.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4183 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/AudioParser.cpp')
-rw-r--r-- | src/DSUtil/AudioParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DSUtil/AudioParser.cpp b/src/DSUtil/AudioParser.cpp index a16d0e40a..4cf676787 100644 --- a/src/DSUtil/AudioParser.cpp +++ b/src/DSUtil/AudioParser.cpp @@ -53,7 +53,7 @@ int GetAC3FrameSize(const BYTE *buf) int GetMLPFrameSize(const BYTE *buf)
{
DWORD sync = *(DWORD*)(buf+4);
- if (sync == TRUEHD_SYNC_WORD || sync == TRUEHD_SYNC_WORD) {
+ if (sync == TRUEHD_SYNC_WORD || sync == MLP_SYNC_WORD) {
return (((buf[0] << 8) | buf[1]) & 0xfff) * 2;
}
return 0;
|