# HG changeset patch # User michael # Date 1201874627 0 # Node ID ce0378d4c06c4919c45a40fe855ff50cae915dfa # Parent 817e302aae08145d2a357826963b72b08417fd74 const diff -r 817e302aae08 -r ce0378d4c06c ptx.c --- a/ptx.c Fri Feb 01 14:00:31 2008 +0000 +++ b/ptx.c Fri Feb 01 14:03:47 2008 +0000 @@ -35,7 +35,7 @@ } static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) { + const uint8_t *buf, int buf_size) { PTXContext * const s = avctx->priv_data; AVFrame *picture = data; AVFrame * const p = &s->picture;