reset eof_ at construction time

not critical, but makes things sound

Change-Id: Ib013259924d38dca6f7521d7f1ab09ecc1d3b933
This commit is contained in:
Pascal Massimino 2010-12-02 11:31:53 -08:00
parent a7ee0559f3
commit 9145f3bc93

View File

@ -27,6 +27,7 @@ int VP8Init(VP8BitReader* const br, const uint8_t* buf, uint32_t size) {
br->left_ = -8;
br->value_ = (buf[0] << 8) | buf[1];
br->range_ = 255 - 1;
br->eof_ = 0;
return 1;
}