diff options
author | Underground78 <underground78@users.sourceforge.net> | 2013-05-19 13:19:14 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2013-05-20 13:57:20 +0400 |
commit | db0dfa1331fa773fab2246ac0865660ed17cb92b (patch) | |
tree | e84bb54bc24aeb6e4ef77076633b488356b92d9a /src/filters/parser | |
parent | 98f112db62354054a63f52408d7a8707e9f7a9f1 (diff) |
BaseSplitterFileEx: Fix an incorrect check.
This check was always false.
Diffstat (limited to 'src/filters/parser')
-rw-r--r-- | src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp b/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp index 889f3a163..d5755ae4c 100644 --- a/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp +++ b/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp @@ -492,8 +492,8 @@ bool CBaseSplitterFileEx::Read(mpahdr& h, int len, bool fAllowV25, CMediaType* p }
if (h.version == 3 && h.layer == 2) {
- if ((h.bitrate == 1 || h.bitrate == 2 || h.bitrate == 3 || h.bitrate == 5) && h.channels != 3
- && (h.bitrate >= 11 && h.bitrate <= 14) && h.channels == 3) {
+ if (((h.bitrate == 1 || h.bitrate == 2 || h.bitrate == 3 || h.bitrate == 5) && h.channels != 3)
+ || (h.bitrate >= 11 && h.bitrate <= 14 && h.channels == 3)) {
return false;
}
}
|