diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:26:31 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:26:31 +0000 |
commit | 7993df65275a9a9bf0a04c37d1aa31901d3ebb0c (patch) | |
tree | 12ac05b322190d0bbbf660aef2e280128d15020a /libavcodec/indeo3.c | |
parent | ff794171c97ae123cac041726e9c8bdc36c7e6c0 (diff) | |
download | ffmpeg-7993df65275a9a9bf0a04c37d1aa31901d3ebb0c.tar.gz |
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/indeo3.c')
-rw-r--r-- | libavcodec/indeo3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index 96b9854961..ab221ddff9 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -176,12 +176,12 @@ static void iv_free_func(Indeo3DecodeContext *s) /* ---------------------------------------------------------------------- */ static unsigned long iv_decode_frame(Indeo3DecodeContext *s, - unsigned char *buf, int buf_size) + const unsigned char *buf, int buf_size) { unsigned int hdr_width, hdr_height, chroma_width, chroma_height; unsigned long fflags1, fflags2, fflags3, offs1, offs2, offs3, offs; - unsigned char *hdr_pos, *buf_pos; + const unsigned char *hdr_pos, *buf_pos; buf_pos = buf; buf_pos += 18; @@ -1074,7 +1074,7 @@ static int indeo3_decode_init(AVCodecContext *avctx) static int indeo3_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - unsigned char *buf, int buf_size) + const unsigned char *buf, int buf_size) { Indeo3DecodeContext *s=avctx->priv_data; unsigned char *src, *dest; |