summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 23:03:37 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 23:03:37 +0000
commit08c10e5772cb415f8d44d4e3a06de5d29d695b07 (patch)
tree7f460009e1f1e54a8caadef9b3e6b59bad9515a6
parenta04876b90cb1e55881844ff22a74e06bf4641071 (diff)
downloadchromium_src-08c10e5772cb415f8d44d4e3a06de5d29d695b07.zip
chromium_src-08c10e5772cb415f8d44d4e3a06de5d29d695b07.tar.gz
chromium_src-08c10e5772cb415f8d44d4e3a06de5d29d695b07.tar.bz2
Fixing DecoderVerbatim in chromoting
Fixed an uninitialized member in DecoderVerbatim. Review URL: http://codereview.chromium.org/2792005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49607 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--remoting/client/decoder_verbatim.cc4
-rw-r--r--remoting/client/decoder_verbatim.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/remoting/client/decoder_verbatim.cc b/remoting/client/decoder_verbatim.cc
index 8fb54ac..6d0f976 100644
--- a/remoting/client/decoder_verbatim.cc
+++ b/remoting/client/decoder_verbatim.cc
@@ -6,6 +6,10 @@
namespace remoting {
+DecoderVerbatim::DecoderVerbatim()
+ : updated_rects_(NULL) {
+}
+
bool DecoderVerbatim::BeginDecode(scoped_refptr<media::VideoFrame> frame,
UpdatedRects* updated_rects,
Task* partial_decode_done,
diff --git a/remoting/client/decoder_verbatim.h b/remoting/client/decoder_verbatim.h
index 5d18a48..b1f776c 100644
--- a/remoting/client/decoder_verbatim.h
+++ b/remoting/client/decoder_verbatim.h
@@ -11,8 +11,7 @@ namespace remoting {
class DecoderVerbatim : public Decoder {
public:
- DecoderVerbatim() {
- }
+ DecoderVerbatim();
// Decoder implementations.
virtual bool BeginDecode(scoped_refptr<media::VideoFrame> frame,