[FFmpeg-cvslog] avcodec/mss12: Constify slice context->parent context pointer

Andreas Rheinhardt git at videolan.org
Wed Apr 13 01:42:13 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Apr 12 21:21:33 2022 +0200| [7427b87e44908a56d559c31b2c6f7a1e1575f5f9] | committer: Andreas Rheinhardt

avcodec/mss12: Constify slice context->parent context pointer

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7427b87e44908a56d559c31b2c6f7a1e1575f5f9
---

 libavcodec/mss12.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list