Mercurial > libavcodec.hg
changeset 6286:07eeefc2825f libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 15:58:29 +0000 |
parents | 5b44e0210dad |
children | 838520e2b6f0 |
files | tscc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tscc.c Fri Feb 01 15:57:54 2008 +0000 +++ b/tscc.c Fri Feb 01 15:58:29 2008 +0000 @@ -182,10 +182,10 @@ * Decode a frame * */ -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) { CamtasiaContext * const c = avctx->priv_data; - unsigned char *encoded = (unsigned char *)buf; + const unsigned char *encoded = buf; unsigned char *outptr; #ifdef CONFIG_ZLIB int zret; // Zlib return code