Bug 1195073: [webm] P3. Initialize members. r=kinetik

This commit is contained in:
Jean-Yves Avenard 2015-08-19 15:24:12 +10:00
parent b793485c9a
commit 83205f837d

View File

@ -123,6 +123,7 @@ WebMDemuxer::WebMDemuxer(MediaResource* aResource)
, mVideoTrack(0)
, mAudioTrack(0)
, mSeekPreroll(0)
, mLastAudioFrameTime(0)
, mLastVideoFrameTime(0)
, mAudioCodec(-1)
, mVideoCodec(-1)
@ -703,6 +704,10 @@ WebMDemuxer::SeekInternal(const media::TimeUnit& aTarget)
}
WEBM_DEBUG("got offset from buffered state: %" PRIu64 "", offset);
}
mLastAudioFrameTime = 0;
mLastVideoFrameTime = 0;
return NS_OK;
}