summaryrefslogtreecommitdiff
path: root/libavcodec/pnmenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:34:00 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:34:00 +0000
commit3052e4b58b35234ac10d43c3529f7637316e238a (patch)
tree59e4ad6bbbc37a2688c8c8170bf90ce030d55eea /libavcodec/pnmenc.c
parent317b3092cf60edf8c1c8bf71a88980120baf8ea9 (diff)
some const
Originally committed as revision 11766 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pnmenc.c')
-rw-r--r--libavcodec/pnmenc.c2
1 files changed, 1 insertions, 1 deletions
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;