mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 589039 - Don't use uninited hashtable in Ogg index decoder. r=doublec a=bsmedberg
This commit is contained in:
parent
92406a79d9
commit
a7ffa56226
@ -257,7 +257,7 @@ public:
|
||||
nsSeekTarget& aResult);
|
||||
|
||||
PRBool HasIndex() const {
|
||||
return mIndex.Count() > 0;
|
||||
return mIndex.IsInitialized() && mIndex.Count() > 0;
|
||||
}
|
||||
|
||||
// Returns the duration of the active tracks in the media, if we have
|
||||
|
Loading…
x
Reference in New Issue
Block a user