ref: 67aa6c8c23bc6ca90cfde756015f0aae61fe20f7
parent: f5d2cc293cbc503cd6a5be8b86f0bb489dc624f5
parent: 69022e9f41e1dc57f688221e7df51e6a7fb9871a
author: Johann Koenig <[email protected]>
date: Tue Dec 17 15:44:58 EST 2019
Merge "trivial: remove reference to error correction"
--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -1298,9 +1298,8 @@
struct vpx_internal_error_info *error_info,
vpx_reader *r, vpx_decrypt_cb decrypt_cb,
void *decrypt_state) {
- // Validate the calculated partition length. If the buffer
- // described by the partition can't be fully read, then restrict
- // it to the portion that can be (for EC mode) or throw an error.
+ // Validate the calculated partition length. If the buffer described by the
+ // partition can't be fully read then throw an error.
if (!read_is_valid(data, read_size, data_end))
vpx_internal_error(error_info, VPX_CODEC_CORRUPT_FRAME,
"Truncated packet or corrupt tile length");