[FFmpeg-devel] [PATCH 14/39] avcodec/half2float: Constify arrays in half2float()
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Wed Jul 27 01:07:49 EEST 2022
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavcodec/half2float.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/half2float.h b/libavcodec/half2float.h
index fd11caffdf..7df6747e50 100644
--- a/libavcodec/half2float.h
+++ b/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;
--
2.34.1
More information about the ffmpeg-devel
mailing list