Move declaration before statement

Change-Id: Ib64786fcc0d6dc11c4e66f5b7f3e93b2a4fcb664
This commit is contained in:
Yaowu Xu 2015-04-20 09:50:59 -07:00
Родитель 2e36149ccd
Коммит 305492c375
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -193,10 +193,10 @@ unsigned int vp9_highbd_avg_4x4_c(const uint8_t *s8, int p) {
void vp9_highbd_minmax_8x8_c(const uint8_t *s8, int p, const uint8_t *d8,
int dp, int *min, int *max) {
int i, j;
*min = 255;
*max = 0;
const uint16_t* s = CONVERT_TO_SHORTPTR(s8);
const uint16_t* d = CONVERT_TO_SHORTPTR(d8);
*min = 255;
*max = 0;
for (i = 0; i < 8; ++i, s += p, d += dp) {
for (j = 0; j < 8; ++j) {
int diff = abs(s[j]-d[j]);