Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: remoting/codec/audio_decoder.h

Issue 10823420: Added more error checking for audio packets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/plugin/pepper_audio_player.cc ('k') | remoting/codec/audio_decoder_verbatim.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/audio_decoder.h
diff --git a/remoting/codec/audio_decoder.h b/remoting/codec/audio_decoder.h
index 72eedf2c431b9e2d0543e48ef50964f405a02fa8..f5088bceb5c3a2c9b8b21aca3d7ad3b69d81c89a 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;
};
« no previous file with comments | « remoting/client/plugin/pepper_audio_player.cc ('k') | remoting/codec/audio_decoder_verbatim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698