From 3052e4b58b35234ac10d43c3529f7637316e238a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 15:34:00 +0000 Subject: some const Originally committed as revision 11766 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pnmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/pnmenc.c') diff --git a/libavcodec/pnmenc.c b/libavcodec/pnmenc.c index a7e70eb2f3..c5061f2e75 100644 --- a/libavcodec/pnmenc.c +++ b/libavcodec/pnmenc.c @@ -34,7 +34,7 @@ static int common_init(AVCodecContext *avctx){ 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; -- cgit v1.2.3