aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-04-12 21:21:33 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-04-13 00:37:13 +0200
commit7427b87e44908a56d559c31b2c6f7a1e1575f5f9 (patch)
tree29839799a7e6d12bdb02da60028ac3c03465fabe /libavcodec
parent77ed56f0ec08732d13f2cc0238c05f553c079e21 (diff)
downloadffmpeg-7427b87e44908a56d559c31b2c6f7a1e1575f5f9.tar.gz
avcodec/mss12: Constify slice context->parent context pointer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mss12.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mss12.h b/libavcodec/mss12.h
index 6f68fc3db6..27aa2d56b1 100644
--- a/libavcodec/mss12.h
+++ b/libavcodec/mss12.h
@@ -68,7 +68,7 @@ typedef struct PixContext {
struct MSS12Context;
typedef struct SliceContext {
- struct MSS12Context *c;
+ const struct MSS12Context *c;
Model intra_region, inter_region;
Model pivot, edge_mode, split_mode;
PixContext intra_pix_ctx, inter_pix_ctx;