You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/half2float: Constify arrays in half2float()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -61,8 +61,8 @@ static void half2float_table(uint32_t *mantissatable, uint32_t *exponenttable,
|
|||||||
offsettable[32] = 0;
|
offsettable[32] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint32_t half2float(uint16_t h, uint32_t *mantissatable, uint32_t *exponenttable,
|
static uint32_t half2float(uint16_t h, const uint32_t *mantissatable, const uint32_t *exponenttable,
|
||||||
uint16_t *offsettable)
|
const uint16_t *offsettable)
|
||||||
{
|
{
|
||||||
uint32_t f;
|
uint32_t f;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user