diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-25 21:24:43 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-31 01:11:06 +0200 |
commit | 941a82b57c8e69ca72a82695cef97604f5a9e944 (patch) | |
tree | 45e6a3ba799e49bc5cef9425b90de771626fe39f /libavcodec/dxv.c | |
parent | e207f75ba8c9e74cb606bc36697149fca3a13a4c (diff) | |
download | ffmpeg-941a82b57c8e69ca72a82695cef97604f5a9e944.tar.gz |
avcodec/dxv: Don't cast const away unnecessarily
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dxv.c')
-rw-r--r-- | libavcodec/dxv.c | 2 |
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) |