mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 22:44:13 +00:00
Bug 774084 - Fix a crash in nsBuiltinDecoder::GetSeekable. r=kinetik
--HG-- extra : rebase_source : f05e051cc9ab850381d138e944f2cc3ea5b3e2f7
This commit is contained in:
parent
9237dae01b
commit
a9f1585235
@ -957,7 +957,7 @@ nsresult nsBuiltinDecoder::GetSeekable(nsTimeRanges* aSeekable)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (mDecoderStateMachine->IsSeekableInBufferedRanges()) {
|
||||
if (mDecoderStateMachine && mDecoderStateMachine->IsSeekableInBufferedRanges()) {
|
||||
return GetBuffered(aSeekable);
|
||||
} else {
|
||||
// The stream is not seekable using only buffered ranges, and is not
|
||||
|
Loading…
x
Reference in New Issue
Block a user