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:
authorXhmikosR <xhmikosr@users.sourceforge.net>2013-05-11 11:11:19 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2013-05-11 16:27:21 +0400
commit710d90edd2aa4e5a4a95b01b3e280d51f210810b (patch)
tree0edc4753c57921c90d862f216a12f81a5f33336b /src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp
parent087937b441de4d69632d5f27b82bbca67e3ba2fc (diff)
Reduce variable scope.
Diffstat (limited to 'src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp')
-rw-r--r--src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp b/src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp
index 34931a5f1..36065d959 100644
--- a/src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp
+++ b/src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp
@@ -928,13 +928,12 @@ HRESULT CMatroskaMuxerInputPin::CompleteConnect(IPin* pPin)
int profile = (p[0] >> 3) - 1;
int rate1 = ((p[0] & 7) << 1) | (p[1] >> 7);
int channels = ((p[1] >> 3) & 15);
- int exttype = 0;
int rate2 = rate1;
if (wfe->cbSize >= 5) {
profile = 4;
- exttype = (p[2] << 3) | (p[3] >> 5);
+ int exttype = (p[2] << 3) | (p[3] >> 5);
ASSERT(exttype == 0x2B7);
ASSERT((p[3] & 31) == 5);
ASSERT((p[4] >> 7) == 1);