Bug 920292 - Fix a bad MOZ_ASSERT("message") in OmxTrackEncoder - r=ehsan

This commit is contained in:
Benoit Jacob 2014-04-30 12:46:51 -04:00
parent 0791c3a552
commit 115813e446

View File

@ -184,7 +184,7 @@ OmxAudioTrackEncoder::AppendEncodedFrames(EncodedFrameContainer& aContainer)
audiodata->SetFrameType(isCSD ?
EncodedFrame::AMR_AUDIO_CSD : EncodedFrame::AMR_AUDIO_FRAME);
} else {
MOZ_ASSERT("audio codec not supported");
MOZ_ASSERT(false, "audio codec not supported");
}
audiodata->SetTimeStamp(outTimeUs);
rv = audiodata->SwapInFrameData(frameData);