avcodec/half2float: Constify arrays in half2float()

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/388/head
Andreas Rheinhardt 3 years ago
parent 145236741d
commit 2793e4353f
  1. 4
      libavcodec/half2float.h

@ -61,8 +61,8 @@ static void half2float_table(uint32_t *mantissatable, uint32_t *exponenttable,
offsettable[32] = 0;
}
static uint32_t half2float(uint16_t h, uint32_t *mantissatable, uint32_t *exponenttable,
uint16_t *offsettable)
static uint32_t half2float(uint16_t h, const uint32_t *mantissatable, const uint32_t *exponenttable,
const uint16_t *offsettable)
{
uint32_t f;

Loading…
Cancel
Save