diff options
author | Michael Niedermayer | 2008-02-01 03:26:31 +0000 |
---|---|---|
committer | Michael Niedermayer | 2008-02-01 03:26:31 +0000 |
commit | 7993df65275a9a9bf0a04c37d1aa31901d3ebb0c (patch) | |
tree | 12ac05b322190d0bbbf660aef2e280128d15020a /libavcodec/msrle.c | |
parent | ff794171c97ae123cac041726e9c8bdc36c7e6c0 (diff) |
consts
I have underestimated this a little, and these are just some ...
Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
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; |