Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2013-05-25 11:30:29 +0400
committerUnderground78 <underground78@users.sourceforge.net>2013-05-25 19:43:09 +0400
commit37fc6058503a62081ffe9eb58426b0e1b29e058f (patch)
treeda68f7951cf224e32c7b5cab03c97ce041181956 /src/filters/parser
parentb9f11f1316d64cd870baea102e7c4676d2ce5af9 (diff)
CBaseSplitterFileEx: Fix the parsing of BD LPCM headers.
Diffstat (limited to 'src/filters/parser')
-rw-r--r--src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp b/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp
index d7bc0508a..411b2c9a5 100644
--- a/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp
+++ b/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp
@@ -1098,7 +1098,7 @@ bool CBaseSplitterFileEx::Read(hdmvlpcmhdr& h, CMediaType* pmt)
if (h.channels == 0 || h.channels == 2 ||
(h.samplerate != 1 && h.samplerate != 4 && h.samplerate != 5) ||
- h.bitpersample > 3) {
+ h.bitpersample == 0) {
return false;
}