Remove default initialization of decoder status.
emove the default initialization of decoder status in the method VP8LDecodeImage(). Change-Id: Ie6b949606349f4e937c4c1dd2c02ff2a4f86870f
This commit is contained in:
parent
be70b86c57
commit
d84a8ffdf7
@ -1486,7 +1486,6 @@ int VP8LDecodeImage(VP8LDecoder* const dec) {
|
||||
// Sanity checks.
|
||||
if (dec == NULL) return 0;
|
||||
|
||||
dec->status_ = VP8_STATUS_BITSTREAM_ERROR;
|
||||
assert(dec->hdr_.huffman_tables_ != NULL);
|
||||
assert(dec->hdr_.htree_groups_ != NULL);
|
||||
assert(dec->hdr_.num_htree_groups_ > 0);
|
||||
|
Loading…
Reference in New Issue
Block a user