mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
jpeg2000dec: remove unneeded returns
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f7129ab928
commit
aa0d11ed0b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user