diff options
Diffstat (limited to 'libavcodec/msrle.c')
-rw-r--r-- | libavcodec/msrle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c index 4b9dc0ce5b..51893cbb7b 100644 --- a/libavcodec/msrle.c +++ b/libavcodec/msrle.c @@ -43,7 +43,7 @@ typedef struct MsrleContext { AVCodecContext *avctx; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; } MsrleContext; @@ -250,7 +250,7 @@ static int msrle_decode_init(AVCodecContext *avctx) static int msrle_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { MsrleContext *s = avctx->priv_data; |