diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 17:44:15 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 17:44:15 +0000 |
commit | bbf94a3e7f3c4372c4ff918a6811a505d8fd69b9 (patch) | |
tree | c5d2614d92182544af89d3908be118149fae185a /media | |
parent | 372c8e90fba9881bdf52298587f336cc083e3b17 (diff) | |
download | chromium_src-bbf94a3e7f3c4372c4ff918a6811a505d8fd69b9.zip chromium_src-bbf94a3e7f3c4372c4ff918a6811a505d8fd69b9.tar.gz chromium_src-bbf94a3e7f3c4372c4ff918a6811a505d8fd69b9.tar.bz2 |
FBTF: Fix more ctor/dtors found by clang plugin.
(1.2 megs off of Debug Linux .a files)
BUG=none
TEST=compiles everywhere
Review URL: http://codereview.chromium.org/3743001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62420 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/base/filters.cc | 8 | ||||
-rw-r--r-- | media/base/filters.h | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/media/base/filters.cc b/media/base/filters.cc index d6fb31e..2ade8d2 100644 --- a/media/base/filters.cc +++ b/media/base/filters.cc @@ -79,4 +79,12 @@ MediaFilter::~MediaFilter() {} DemuxerStream::~DemuxerStream() {} +VideoDecoder::VideoDecoder() {} + +VideoDecoder::~VideoDecoder() {} + +AudioDecoder::AudioDecoder() {} + +AudioDecoder::~AudioDecoder() {} + } // namespace media diff --git a/media/base/filters.h b/media/base/filters.h index 65a33ee..d9edfc1 100644 --- a/media/base/filters.h +++ b/media/base/filters.h @@ -270,6 +270,9 @@ class VideoDecoder : public MediaFilter { consume_video_frame_callback_->Run(frame); } + VideoDecoder(); + virtual ~VideoDecoder(); + private: scoped_ptr<ConsumeVideoFrameCallback> consume_video_frame_callback_; }; @@ -309,6 +312,10 @@ class AudioDecoder : public MediaFilter { // We could also pass empty pointer here to let decoder provide buffers pool. virtual void ProduceAudioSamples(scoped_refptr<Buffer> buffer) = 0; + protected: + AudioDecoder(); + ~AudioDecoder(); + private: scoped_ptr<ConsumeAudioSamplesCallback> consume_audio_samples_callback_; }; |