summaryrefslogtreecommitdiff
path: root/libavcodec/loco.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
commit7993df65275a9a9bf0a04c37d1aa31901d3ebb0c (patch)
tree12ac05b322190d0bbbf660aef2e280128d15020a /libavcodec/loco.c
parentff794171c97ae123cac041726e9c8bdc36c7e6c0 (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/loco.c')
-rw-r--r--libavcodec/loco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index 355e955aad..14be6f0192 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -116,7 +116,7 @@ static inline int loco_predict(uint8_t* data, int stride, int step)
}
static int loco_decode_plane(LOCOContext *l, uint8_t *data, int width, int height,
- int stride, uint8_t *buf, int buf_size, int step)
+ int stride, const uint8_t *buf, int buf_size, int step)
{
RICEContext rc;
int val;
@@ -157,7 +157,7 @@ static int loco_decode_plane(LOCOContext *l, uint8_t *data, int width, int heigh
static int decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
LOCOContext * const l = avctx->priv_data;
AVFrame * const p= (AVFrame*)&l->pic;