Index: media/base/buffers.cc |
diff --git a/media/base/buffers.cc b/media/base/buffers.cc |
index 47087265262b064484d84ba79448d5ca40288fb8..ab66b9adbd2156be59e3b83cc137ae1cf7d9e22a 100644 |
--- a/media/base/buffers.cc |
+++ b/media/base/buffers.cc |
@@ -13,4 +13,8 @@ StreamSample::StreamSample() {} |
StreamSample::~StreamSample() {} |
+bool Buffer::IsEndOfStream() const { |
+ return GetData() == NULL; |
+} |
+ |
} // namespace media |