diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-22 01:09:31 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-10-13 14:35:07 +0200 |
commit | 4e6cf5e52b4ba6fb8834c91099935525a86e0082 (patch) | |
tree | e49f8849d2c72e249c64046d18e7a2c921809f03 /libavcodec/h264_cavlc.c | |
parent | 8e1bb594fb362a10175713ffa62c049bdfd90116 (diff) | |
download | ffmpeg-4e6cf5e52b4ba6fb8834c91099935525a86e0082.tar.gz |
avcodec/h264dec: Constify H.264 decoder
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h264_cavlc.c')
-rw-r--r-- | libavcodec/h264_cavlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c index a06b775422..de223611c6 100644 --- a/libavcodec/h264_cavlc.c +++ b/libavcodec/h264_cavlc.c @@ -282,7 +282,7 @@ static int8_t cavlc_level_tab[7][1<<LEVEL_TAB_BITS][2]; * Get the predicted number of non-zero coefficients. * @param n block index */ -static inline int pred_non_zero_count(const H264Context *h, H264SliceContext *sl, int n) +static inline int pred_non_zero_count(const H264Context *h, const H264SliceContext *sl, int n) { const int index8= scan8[n]; const int left = sl->non_zero_count_cache[index8 - 1]; |