diff options
author | kxing@chromium.org <kxing@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 16:42:30 +0000 |
---|---|---|
committer | kxing@chromium.org <kxing@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 16:42:30 +0000 |
commit | 922ecc32c5f8f0f87ac121f7ff5523e18da5d976 (patch) | |
tree | 46986181b7bc4aeff4786275eeaccf6da31b3235 /remoting/codec/audio_decoder.h | |
parent | d335fb395a4b57c7b307b0421e26cde7b4f6c301 (diff) | |
download | chromium_src-922ecc32c5f8f0f87ac121f7ff5523e18da5d976.zip chromium_src-922ecc32c5f8f0f87ac121f7ff5523e18da5d976.tar.gz chromium_src-922ecc32c5f8f0f87ac121f7ff5523e18da5d976.tar.bz2 |
Added more error checking for audio packets.
BUG=
Review URL: https://chromiumcodereview.appspot.com/10823420
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/codec/audio_decoder.h')
-rw-r--r-- | remoting/codec/audio_decoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/codec/audio_decoder.h b/remoting/codec/audio_decoder.h index 72eedf2..f5088bc 100644 --- a/remoting/codec/audio_decoder.h +++ b/remoting/codec/audio_decoder.h @@ -22,6 +22,8 @@ class AudioDecoder { virtual ~AudioDecoder() {} + // Returns the decoded packet. If the packet is invalid, then a NULL + // scoped_ptr is returned. virtual scoped_ptr<AudioPacket> Decode(scoped_ptr<AudioPacket> packet) = 0; }; |