Merge "Remove unnecessary local variable."
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user