# HG changeset patch # User michael # Date 1201880040 0 # Node ID ec8c482d17c1550f99a3519a1e467a1c919f3297 # Parent fd69759904c7c0f2a7764213939340df0334caa2 some const diff -r fd69759904c7 -r ec8c482d17c1 pnmenc.c --- a/pnmenc.c Fri Feb 01 15:30:29 2008 +0000 +++ b/pnmenc.c Fri Feb 01 15:34:00 2008 +0000 @@ -34,7 +34,7 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { PNMContext * const s = avctx->priv_data; AVFrame *picture = data;