From 3cd7c7fb1b210348b67337671b0661b80fcd1f42 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 14:03:47 +0000 Subject: const Originally committed as revision 11737 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ptx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/ptx.c') diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c index 814697f5ca..22bb461781 100644 --- a/libavcodec/ptx.c +++ b/libavcodec/ptx.c @@ -35,7 +35,7 @@ static int ptx_init(AVCodecContext *avctx) { } 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; -- cgit v1.2.3