Commit aa0d11ed authored by Michael Niedermayer's avatar Michael Niedermayer

jpeg2000dec: remove unneeded returns

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f7129ab9
......@@ -932,7 +932,6 @@ static void dequantization_float(int x, int y, Jpeg2000Cblk *cblk,
idx = (comp->coord[0][1] - comp->coord[0][0]) * j + i;
datap[idx] = (float)(t1->data[j][i]) * ((float)band->stepsize);
}
return;
}
/* Integer dequantization of a codeblock.*/
......@@ -949,7 +948,6 @@ static void dequantization_int(int x, int y, Jpeg2000Cblk *cblk,
datap[idx] =
((int32_t)(t1->data[j][i]) * ((int32_t)band->stepsize) + (1 << 15)) >> 16;
}
return;
}
/* Inverse ICT parameters in float and integer.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment