From 588b67e59c5aa8e166eefe43e5ac61126c7e35f6 Mon Sep 17 00:00:00 2001 From: Matthew Gregan Date: Fri, 12 Dec 2008 21:43:36 +1300 Subject: [PATCH] Bug 468992. Use stored mURI to reopen a WAVE stream after we've finished playing it. r+sr=roc --- content/media/video/src/nsWaveDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/media/video/src/nsWaveDecoder.cpp b/content/media/video/src/nsWaveDecoder.cpp index 4e73ac706b1..3ae6783c2df 100644 --- a/content/media/video/src/nsWaveDecoder.cpp +++ b/content/media/video/src/nsWaveDecoder.cpp @@ -1076,7 +1076,7 @@ nsWaveDecoder::Load(nsIURI* aURI, nsIChannel* aChannel, nsIStreamListener** aStr mStream = new nsMediaStream(); NS_ENSURE_TRUE(mStream, NS_ERROR_OUT_OF_MEMORY); - nsresult rv = mStream->Open(this, aURI, aChannel, aStreamListener); + nsresult rv = mStream->Open(this, mURI, aChannel, aStreamListener); NS_ENSURE_SUCCESS(rv, rv); rv = NS_NewThread(getter_AddRefs(mPlaybackThread));