diff --git a/dom/media/fmp4/MP4Demuxer.cpp b/dom/media/fmp4/MP4Demuxer.cpp index 4e69169120fc..58d6fa5e1d18 100644 --- a/dom/media/fmp4/MP4Demuxer.cpp +++ b/dom/media/fmp4/MP4Demuxer.cpp @@ -497,8 +497,8 @@ MP4TrackDemuxer::GetSamples(int32_t aNumSamples) } if (mQueuedSample) { - MOZ_ASSERT(mQueuedSample->mKeyframe, - "mQueuedSample must be a keyframe"); + NS_ASSERTION(mQueuedSample->mKeyframe, + "mQueuedSample must be a keyframe"); samples->mSamples.AppendElement(mQueuedSample); mQueuedSample = nullptr; aNumSamples--;