From 4e6cf5e52b4ba6fb8834c91099935525a86e0082 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Date: Fri, 22 Sep 2023 01:09:31 +0200 Subject: avcodec/h264dec: Constify H.264 decoder Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/h264_cavlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h264_cavlc.c') 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]; -- cgit v1.2.3