Bug 962385 - Minor GCC compilation fix.

This commit is contained in:
Jacek Caban 2014-02-07 12:51:34 +01:00
parent 1ec9adfc3b
commit 81f27e5b75

View File

@ -340,7 +340,7 @@ MP4Reader::Decode(TrackType aTrack)
(data.mNumSamplesInput - data.mNumSamplesOutput) < data.mDecodeAhead)) {
data.mMonitor.AssertCurrentThreadOwns();
data.mMonitor.Unlock();
nsAutoPtr<MP4Sample> compressed = PopSample(aTrack);
nsAutoPtr<MP4Sample> compressed(PopSample(aTrack));
if (!compressed) {
// EOS, or error. Let the state machine know there are no more
// frames coming.