Bug 589039 - Don't use uninited hashtable in Ogg index decoder. r=doublec a=bsmedberg

This commit is contained in:
Chris Pearce 2010-11-08 19:43:24 +13:00
parent 92406a79d9
commit a7ffa56226

View File

@ -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