]> granicus.if.org Git - libvpx/commitdiff
Remove unnecessary local variable.
authorhkuang <hkuang@google.com>
Mon, 13 Oct 2014 21:05:42 +0000 (14:05 -0700)
committerhkuang <hkuang@google.com>
Mon, 13 Oct 2014 21:05:42 +0000 (14:05 -0700)
Change-Id: I7b19b6061cec369825a0a0b7a485ca490dbc12ee

vp9/decoder/vp9_decodeframe.c

index 2690f48878da5abb2375c255af97dcdf55b3abb8..d7bcf7c66bfa0919fbe2671640e15ed0460d6af9 100644 (file)
@@ -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,
                          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) {