summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorhkuang <hkuang@google.com>2014-10-14 11:05:51 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-10-14 11:05:51 -0700
commit8fff2db51e7daa14b24792d568b140d6244bd7ba (patch)
tree730670622b0e98a70750ea7c59c7c69dac73ea99 /vp9
parentc38a8edf162abb374a2bf3e4c3bbe91c073d56e6 (diff)
parentc7f9c717dee25930636ace9d32ccd513e64de841 (diff)
downloadlibvpx-8fff2db51e7daa14b24792d568b140d6244bd7ba.tar
libvpx-8fff2db51e7daa14b24792d568b140d6244bd7ba.tar.gz
libvpx-8fff2db51e7daa14b24792d568b140d6244bd7ba.tar.bz2
libvpx-8fff2db51e7daa14b24792d568b140d6244bd7ba.zip
Merge "Remove unnecessary local variable."
Diffstat (limited to 'vp9')
-rw-r--r--vp9/decoder/vp9_decodeframe.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/vp9/decoder/vp9_decodeframe.c b/vp9/decoder/vp9_decodeframe.c
index 2690f4887..d7bcf7c66 100644
--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -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) {