Bug 518659, fixing crash bustage due to bad merging

--HG--
extra : rebase_source : 2d614525fa131c43d79d983ce531d8c50908d17e
This commit is contained in:
Robert O'Callahan 2009-10-27 16:27:04 +13:00
parent e9457239f9
commit 77949843dd

View File

@ -1353,8 +1353,8 @@ nsresult nsHTMLMediaElement::InitializeDecoderAsClone(nsMediaDecoder* aOriginal)
float duration = aOriginal->GetDuration();
if (duration >= 0) {
mDecoder->SetDuration(PRInt64(NS_round(duration * 1000)));
mDecoder->SetSeekable(aOriginal->GetSeekable());
decoder->SetDuration(PRInt64(NS_round(duration * 1000)));
decoder->SetSeekable(aOriginal->GetSeekable());
}
nsMediaStream* stream = originalStream->CloneData(decoder);