Mercurial > libavcodec.hg
diff kmvc.c @ 6218:dfdff1ca78a7 libavcodec
consts
I have underestimated this a little, and these are just some ...
author | michael |
---|---|
date | Fri, 01 Feb 2008 03:26:31 +0000 |
parents | 2b72f9bc4f06 |
children | 48759bfbd073 |
line wrap: on
line diff
--- a/kmvc.c Fri Feb 01 02:36:09 2008 +0000 +++ b/kmvc.c Fri Feb 01 03:26:31 2008 +0000 @@ -67,7 +67,7 @@ } \ } -static void kmvc_decode_intra_8x8(KmvcContext * ctx, uint8_t * src, int w, int h) +static void kmvc_decode_intra_8x8(KmvcContext * ctx, const uint8_t * src, int w, int h) { BitBuf bb; int res, val; @@ -142,7 +142,7 @@ } } -static void kmvc_decode_inter_8x8(KmvcContext * ctx, uint8_t * src, int w, int h) +static void kmvc_decode_inter_8x8(KmvcContext * ctx, const uint8_t * src, int w, int h) { BitBuf bb; int res, val; @@ -224,7 +224,7 @@ } } -static int decode_frame(AVCodecContext * avctx, void *data, int *data_size, uint8_t * buf, +static int decode_frame(AVCodecContext * avctx, void *data, int *data_size, const uint8_t * buf, int buf_size) { KmvcContext *const ctx = avctx->priv_data;