Bug 1125776: Part1. Fix initialization of variables. r=cajbir

They could be used when non-initialized.
This commit is contained in:
Jean-Yves Avenard 2015-02-04 20:20:14 +11:00
parent 6a135e527a
commit 9264bf02f5

View File

@ -160,7 +160,7 @@ TrackBuffer::AppendData(LargeDataBuffer* aData, int64_t aTimestampOffset)
return false;
}
int64_t start, end;
int64_t start = 0, end = 0;
if (mParser->ParseStartAndEndTimestamps(aData, start, end)) {
start += aTimestampOffset;
end += aTimestampOffset;