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;