Commit 8fff2db5 authored by hkuang's avatar hkuang Committed by Gerrit Code Review
Browse files

Merge "Remove unnecessary local variable."

parents c38a8edf c7f9c717
...@@ -656,10 +656,8 @@ static INTERP_FILTER read_interp_filter(struct vp9_read_bit_buffer *rb) { ...@@ -656,10 +656,8 @@ static INTERP_FILTER read_interp_filter(struct vp9_read_bit_buffer *rb) {
void vp9_read_frame_size(struct vp9_read_bit_buffer *rb, void vp9_read_frame_size(struct vp9_read_bit_buffer *rb,
int *width, int *height) { int *width, int *height) {
const int w = vp9_rb_read_literal(rb, 16) + 1; *width = vp9_rb_read_literal(rb, 16) + 1;
const int h = vp9_rb_read_literal(rb, 16) + 1; *height = vp9_rb_read_literal(rb, 16) + 1;
*width = w;
*height = h;
} }
static void setup_display_size(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) { static void setup_display_size(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) {
......
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