diff mbox series

[FFmpeg-devel,5/5] avcodec/mss12: Constify slice context->parent context pointer

Message ID AS8PR01MB79443FFECB049674909D54B98FED9@AS8PR01MB7944.eurprd01.prod.exchangelabs.com
State Accepted
Commit 7427b87e44908a56d559c31b2c6f7a1e1575f5f9
Headers show
Series [FFmpeg-devel,1/5] avcodec/vbn(dec|enc): Remove empty close function | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_armv7_RPi4 success Make finished
andriy/make_fate_armv7_RPi4 success Make fate finished

Commit Message

Andreas Rheinhardt April 12, 2022, 7:25 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/mss12.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul B Mahol April 12, 2022, 7:29 p.m. UTC | #1
lgtm
diff mbox series

Patch

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;