зеркало из https://github.com/mozilla/pjs.git
Bustage fix for bug 570904. a=bustage-fix
This commit is contained in:
Родитель
b0c7e1567a
Коммит
432a24cf03
|
@ -753,7 +753,7 @@ nsresult nsWebMReader::GetBuffered(nsTimeRanges* aBuffered, PRInt64 aStartTime)
|
|||
// Special case completely cached files. This also handles local files.
|
||||
if (stream->IsDataCachedToEndOfStream(0)) {
|
||||
uint64_t duration = 0;
|
||||
if (nestegg_duration(mContext, &duration) == 0) {
|
||||
if (mContext && nestegg_duration(mContext, &duration) == 0) {
|
||||
aBuffered->Add(aStartTime / MS_PER_S, duration / NS_PER_S);
|
||||
}
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче