Index: media/mp4/offset_byte_queue.cc |
diff --git a/media/mp4/offset_byte_queue.cc b/media/mp4/offset_byte_queue.cc |
index 862d9370b20b58ffdee8f874c5a4ba2b6c574e44..a530150899bce18a9ec56c9c8d03aa361943864e 100644 |
--- a/media/mp4/offset_byte_queue.cc |
+++ b/media/mp4/offset_byte_queue.cc |
@@ -37,6 +37,7 @@ void OffsetByteQueue::Pop(int count) { |
} |
void OffsetByteQueue::PeekAt(int64 offset, const uint8** buf, int* size) { |
+ DCHECK(offset >= head()); |
acolwell GONE FROM CHROMIUM
2012/07/30 20:49:04
Is this a result of a coding error, or can unexpec
strobe_
2012/07/31 18:34:38
As of now, it can only be the result of a programm
|
if (offset < head() || offset >= tail()) { |
*buf = NULL; |
*size = 0; |