зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1128179 - Avoiding crash when appending data after decoder initialization failed. r=jya
--HG-- extra : rebase_source : 42d3c13c175cbe6a6e81bc56e3d61f596eae970f
This commit is contained in:
Родитель
a4841fa5e6
Коммит
11cfd64eba
|
@ -168,7 +168,7 @@ TrackBuffer::AppendData(LargeDataBuffer* aData, int64_t aTimestampOffset)
|
||||||
mLastEndTimestamp &&
|
mLastEndTimestamp &&
|
||||||
(!mParser->TimestampsFuzzyEqual(start, mLastEndTimestamp.value()) ||
|
(!mParser->TimestampsFuzzyEqual(start, mLastEndTimestamp.value()) ||
|
||||||
mLastTimestampOffset != aTimestampOffset ||
|
mLastTimestampOffset != aTimestampOffset ||
|
||||||
mDecoderPerSegment || mCurrentDecoder->WasTrimmed())) {
|
mDecoderPerSegment || (mCurrentDecoder && mCurrentDecoder->WasTrimmed()))) {
|
||||||
MSE_DEBUG("TrackBuffer(%p)::AppendData: Data last=[%lld, %lld] overlaps [%lld, %lld]",
|
MSE_DEBUG("TrackBuffer(%p)::AppendData: Data last=[%lld, %lld] overlaps [%lld, %lld]",
|
||||||
this, mLastStartTimestamp, mLastEndTimestamp.value(), start, end);
|
this, mLastStartTimestamp, mLastEndTimestamp.value(), start, end);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче