ref: f23241087a4c4963fb4c4cbc8a8df76f0bd4e736
parent: 47c55acdadeb8cba85da04a92d6fb24e2af6ff55
author: Yaowu Xu <[email protected]>
date: Wed Jul 29 12:27:34 EDT 2015
Add const to a variable declaration Change-Id: Idf572c22a87098665f5179dc3212a06d9a85a342
--- a/vp8/decoder/decodeframe.c
+++ b/vp8/decoder/decodeframe.c
@@ -635,7 +635,7 @@
xd->dst.v_buffer = dst_buffer[2] + recon_uvoffset;
if (xd->mode_info_context->mbmi.ref_frame >= LAST_FRAME) {
- MV_REFERENCE_FRAME ref = xd->mode_info_context->mbmi.ref_frame;
+ const MV_REFERENCE_FRAME ref = xd->mode_info_context->mbmi.ref_frame;
xd->pre.y_buffer = ref_buffer[ref][0] + recon_yoffset;
xd->pre.u_buffer = ref_buffer[ref][1] + recon_uvoffset;
xd->pre.v_buffer = ref_buffer[ref][2] + recon_uvoffset;