summaryrefslogtreecommitdiffstats
path: root/media/webm/webm_info_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/webm/webm_info_parser.h')
-rw-r--r--media/webm/webm_info_parser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/webm/webm_info_parser.h b/media/webm/webm_info_parser.h
index 6391f8b..37cf01c 100644
--- a/media/webm/webm_info_parser.h
+++ b/media/webm/webm_info_parser.h
@@ -17,8 +17,9 @@ class WebMInfoParser : public WebMParserClient {
// Parses a WebM Info element in |buf|.
//
- // Returns the number of bytes parsed on success. Returns -1
- // on error.
+ // Returns -1 if the parse fails.
+ // Returns 0 if more data is needed.
+ // Returns the number of bytes parsed on success.
int Parse(const uint8* buf, int size);
int64 timecode_scale() const { return timecode_scale_; }