Mercurial > libavcodec.hg
diff smacker.c @ 6251:743c1ef20291 libavcodec
some const
author | michael |
---|---|
date | Fri, 01 Feb 2008 14:09:52 +0000 |
parents | 71dc0d839b28 |
children | 80f5ff30ba58 |
line wrap: on
line diff
--- a/smacker.c Fri Feb 01 14:08:35 2008 +0000 +++ b/smacker.c Fri Feb 01 14:09:52 2008 +0000 @@ -344,7 +344,7 @@ return v; } -static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) +static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) { SmackVContext * const smk = avctx->priv_data; uint8_t *out; @@ -567,7 +567,7 @@ /** * Decode Smacker audio data */ -static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) +static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) { GetBitContext gb; HuffContext h[4];