Commit c1729d12 authored by Alex Converse's avatar Alex Converse Committed by Gerrit Code Review
Browse files

Merge "ANS: Remove extra buffer size checks causing a false decode error." into nextgenv2

parents 9e8cad3b 493a5852
......@@ -3173,9 +3173,6 @@ static const uint8_t *decode_tiles(VP10Decoder *pbi,
&td->bit_reader, pbi->decrypt_cb,
if (buf->size < 3 || !read_is_valid(buf->data, buf->size, data_end))
vpx_internal_error(&cm->error, VPX_CODEC_CORRUPT_FRAME,
"Truncated packet or corrupt tile length");
setup_token_decoder(buf->data, data_end, buf->size, &cm->error,
&td->bit_reader, pbi->decrypt_cb,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment