Mercurial > libavcodec.hg
changeset 6246:ce0378d4c06c libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 14:03:47 +0000 |
parents | 817e302aae08 |
children | aa954496a445 |
files | ptx.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;