| Index: media/base/bit_reader.h
|
| diff --git a/media/base/bit_reader.h b/media/base/bit_reader.h
|
| index 22493126d7fa400fa91d4d5491afc583ddca4656..8c15891c91576a6ce5e250088c71aae06e353a8d 100644
|
| --- a/media/base/bit_reader.h
|
| +++ b/media/base/bit_reader.h
|
| @@ -37,6 +37,12 @@ class MEDIA_EXPORT BitReader {
|
| return ret;
|
| }
|
|
|
| + // Skip |num_bits| next bits from stream. Return false if the given number of
|
| + // bits cannot be skipped (not enough bits in the stream), true otherwise.
|
| + // When return false, the stream will enter a state where further ReadBits/
|
| + // SkipBits operations will always return false unless |num_bits| is 0.
|
| + bool SkipBits(int num_bits);
|
| +
|
| // Returns the number of bits available for reading.
|
| int bits_available() const;
|
|
|
|
|