[FFmpeg-cvslog] avcodec/dxv: Don't cast const away unnecessarily
Andreas Rheinhardt
git at videolan.org
Sun Jul 31 02:55:51 EEST 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Jul 25 21:24:43 2022 +0200| [941a82b57c8e69ca72a82695cef97604f5a9e944] | committer: Andreas Rheinhardt
avcodec/dxv: Don't cast const away unnecessarily
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=941a82b57c8e69ca72a82695cef97604f5a9e944
---
libavcodec/dxv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the ffmpeg-cvslog
mailing list