Mercurial > libavcodec.hg
changeset 6215:1087db4b4d78 libavcodec
The buffer passed into the decoder should be const.
author | michael |
---|---|
date | Fri, 01 Feb 2008 02:26:19 +0000 |
parents | b2c3654e562d |
children | 5a882b31308b |
files | avcodec.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 *);