Update basis_spec.txt

This commit is contained in:
Rich Geldreich
2020-05-26 00:33:57 -04:00
committed by GitHub
parent 8afd2e7a46
commit 041d06ba91

View File

@@ -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