diff options
Diffstat (limited to 'media/cast/receiver/video_decoder.cc')
-rw-r--r-- | media/cast/receiver/video_decoder.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/media/cast/receiver/video_decoder.cc b/media/cast/receiver/video_decoder.cc index 1eaa6f3..e536c3e 100644 --- a/media/cast/receiver/video_decoder.cc +++ b/media/cast/receiver/video_decoder.cc @@ -114,12 +114,12 @@ class VideoDecoder::Vp8Impl : public VideoDecoder::ImplBase { } private: - virtual ~Vp8Impl() { + ~Vp8Impl() override { if (ImplBase::cast_initialization_status_ == STATUS_VIDEO_INITIALIZED) CHECK_EQ(VPX_CODEC_OK, vpx_codec_destroy(&context_)); } - virtual scoped_refptr<VideoFrame> Decode(uint8* data, int len) override { + scoped_refptr<VideoFrame> Decode(uint8* data, int len) override { if (len <= 0 || vpx_codec_decode(&context_, data, static_cast<unsigned int>(len), @@ -181,9 +181,9 @@ class VideoDecoder::FakeImpl : public VideoDecoder::ImplBase { } private: - virtual ~FakeImpl() {} + ~FakeImpl() override {} - virtual scoped_refptr<VideoFrame> Decode(uint8* data, int len) override { + scoped_refptr<VideoFrame> Decode(uint8* data, int len) override { // Make sure this is a JSON string. if (!len || data[0] != '{') return NULL; |