aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv34.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-24 15:16:03 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-10-31 20:47:00 +0100
commit1ae750a16ec2f27535af8d4db2acc49da1ee74f6 (patch)
tree1191e74ef53f9c97f887c235e6cf7508578c3454 /libavcodec/rv34.h
parent716ddc8c6270f2af90002a56de5f389535cfa2c4 (diff)
downloadffmpeg-1ae750a16ec2f27535af8d4db2acc49da1ee74f6.tar.gz
avcodec/rv34: Constify pointer to static object
Said object is only allowed to be modified during its initialization and is immutable afterwards. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rv34.h')
-rw-r--r--libavcodec/rv34.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h
index 4bb81b4965..6fe1f8087d 100644
--- a/libavcodec/rv34.h
+++ b/libavcodec/rv34.h
@@ -92,7 +92,7 @@ typedef struct RV34DecContext{
const uint8_t *luma_dc_quant_i;///< luma subblock DC quantizer for intraframes
const uint8_t *luma_dc_quant_p;///< luma subblock DC quantizer for interframes
- RV34VLC *cur_vlcs; ///< VLC set used for current frame decoding
+ const RV34VLC *cur_vlcs; ///< VLC set used for current frame decoding
H264PredContext h; ///< functions for 4x4 and 16x16 intra block prediction
SliceInfo si; ///< current slice information