From: Johann Date: Wed, 4 Dec 2019 23:07:12 +0000 (-0800) Subject: trivial: remove reference to error correction X-Git-Tag: v1.9.0-rc1~116^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69022e9f41e1dc57f688221e7df51e6a7fb9871a;p=libvpx trivial: remove reference to error correction vp9 does not support error correction Change-Id: I89517ae97abfa60833c9150495556d49c9656778 --- diff --git a/vp9/decoder/vp9_decodeframe.c b/vp9/decoder/vp9_decodeframe.c index e8b386994..2a27e6fdb 100644 --- a/vp9/decoder/vp9_decodeframe.c +++ b/vp9/decoder/vp9_decodeframe.c @@ -1298,9 +1298,8 @@ static void setup_token_decoder(const uint8_t *data, const uint8_t *data_end, 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");