# HG changeset patch # User michael # Date 1201875489 0 # Node ID 80148ad7bb3cef1c4326ea1e706d3f575d0ae550 # Parent 5b6f78cd3d50c2951504bda2d2d9e5e20cb23daf some const diff -r 5b6f78cd3d50 -r 80148ad7bb3c snow.c --- a/snow.c Fri Feb 01 14:16:08 2008 +0000 +++ b/snow.c Fri Feb 01 14:18:09 2008 +0000 @@ -4567,7 +4567,7 @@ return 0; } -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){ SnowContext *s = avctx->priv_data; RangeCoder * const c= &s->c; int bytes_read;