Commit 2b2b461d authored by Jingning Han's avatar Jingning Han

Sort variables dependency in read_uncompressed_header

Remove a few repeated data structure reads from

Change-Id: I6eb741b39f9415ad0aa4631dfbf4a1ace4eba56a
parent aa5c1b4c
......@@ -1311,8 +1311,8 @@ static void read_bitdepth_colorspace_sampling(
static size_t read_uncompressed_header(VP9Decoder *pbi,
struct vp9_read_bit_buffer *rb) {
VP9_COMMON *const cm = &pbi->common;
RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs;
BufferPool *const pool = pbi->common.buffer_pool;
BufferPool *const pool = cm->buffer_pool;
RefCntBuffer *const frame_bufs = pool->frame_bufs;
int i, mask, ref_index = 0;
size_t sz;
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