ref: 8fff2db51e7daa14b24792d568b140d6244bd7ba
parent: c38a8edf162abb374a2bf3e4c3bbe91c073d56e6
parent: c7f9c717dee25930636ace9d32ccd513e64de841
author: hkuang <[email protected]>
date: Tue Oct 14 07:05:51 EDT 2014
Merge "Remove unnecessary local variable."
--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -656,10 +656,8 @@
void vp9_read_frame_size(struct vp9_read_bit_buffer *rb,
int *width, int *height) {
- const int w = vp9_rb_read_literal(rb, 16) + 1;
- const int h = vp9_rb_read_literal(rb, 16) + 1;
- *width = w;
- *height = h;
+ *width = vp9_rb_read_literal(rb, 16) + 1;
+ *height = vp9_rb_read_literal(rb, 16) + 1;
}
static void setup_display_size(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) {