# HG changeset patch # User michael # Date 1201874992 0 # Node ID 743c1ef202918fd1416096414240d12c8e098802 # Parent a56227a0b738bf301336d34c708268481274c33c some const diff -r a56227a0b738 -r 743c1ef20291 smacker.c --- 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];