From 041d06ba91513d23fdec040df10dd23a214135fa Mon Sep 17 00:00:00 2001 From: Rich Geldreich Date: Tue, 26 May 2020 00:33:57 -0400 Subject: [PATCH] Update basis_spec.txt --- spec/basis_spec.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/basis_spec.txt b/spec/basis_spec.txt index ffb5a05..ba041a3 100644 --- a/spec/basis_spec.txt +++ b/spec/basis_spec.txt @@ -818,7 +818,7 @@ The code to decode the selector codebook index immediately follows the code abov // For texture video, remember the endpoint and selector indices used by the block on this frame, for later reuse on the next frame. if (is_video) - prev_frame_indices[block_x + block_y * num_blocks_x] = endpoint_index | (selector_index << 16); + prev_frame_indices[block_x][block_y] = endpoint_index | (selector_index << 16); // The block is fully decoded here. The codebook indices are endpoint_index and selector_index. // Make sure they are valid