Mercurial > libavcodec.hg
diff avcodec.h @ 6215:1087db4b4d78 libavcodec
The buffer passed into the decoder should be const.
author | michael |
---|---|
date | Fri, 01 Feb 2008 02:26:19 +0000 |
parents | 098f955eaec8 |
children | 73c09e922744 |
line wrap: on
line diff
--- a/avcodec.h Fri Feb 01 01:40:46 2008 +0000 +++ b/avcodec.h Fri Feb 01 02:26:19 2008 +0000 @@ -2200,7 +2200,7 @@ int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); int (*close)(AVCodecContext *); int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, - uint8_t *buf, int buf_size); + const uint8_t *buf, int buf_size); int capabilities; struct AVCodec *next; void (*flush)(AVCodecContext *);