summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-25 21:24:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-31 01:11:06 +0200
commit941a82b57c8e69ca72a82695cef97604f5a9e944 (patch)
tree45e6a3ba799e49bc5cef9425b90de771626fe39f
parente207f75ba8c9e74cb606bc36697149fca3a13a4c (diff)
avcodec/dxv: Don't cast const away unnecessarily
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/dxv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c
index b3df00a5d8..f36454a9f6 100644
--- a/libavcodec/dxv.c
+++ b/libavcodec/dxv.c
@@ -432,7 +432,7 @@ static int get_opcodes(GetByteContext *gb, uint32_t *table, uint8_t *dst, int op
int64_t size_in_bits;
unsigned endoffset, newoffset, offset;
unsigned next;
- uint8_t *src = (uint8_t *)gb->buffer;
+ const uint8_t *src = gb->buffer;
ret = fill_optable(table, optable, nb_elements);
if (ret < 0)