mkvparser: EBMLHeader::Parse: remove dead init
Change-Id: Ie06b44c3b7fd948d11aa86ae521a196ea668312b
This commit is contained in:
parent
476366249e
commit
1ad314e297
@ -520,7 +520,6 @@ long long EBMLHeader::Parse(IMkvReader* pReader, long long& pos) {
|
|||||||
return status;
|
return status;
|
||||||
|
|
||||||
pos = 0;
|
pos = 0;
|
||||||
long long end = (available >= 1024) ? 1024 : available;
|
|
||||||
|
|
||||||
// Scan until we find what looks like the first byte of the EBML header.
|
// Scan until we find what looks like the first byte of the EBML header.
|
||||||
const long long kMaxScanBytes = (available >= 1024) ? 1024 : available;
|
const long long kMaxScanBytes = (available >= 1024) ? 1024 : available;
|
||||||
@ -584,7 +583,7 @@ long long EBMLHeader::Parse(IMkvReader* pReader, long long& pos) {
|
|||||||
if ((available - pos) < result)
|
if ((available - pos) < result)
|
||||||
return pos + result;
|
return pos + result;
|
||||||
|
|
||||||
end = pos + result;
|
const long long end = pos + result;
|
||||||
|
|
||||||
Init();
|
Init();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user