The buffer passed into the decoder should be const.

Originally committed as revision 11704 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-02-01 02:26:19 +00:00
parent a9f8715854
commit 6ddaa63cf4
1 changed files with 1 additions and 1 deletions

View File

@ -2200,7 +2200,7 @@ typedef struct AVCodec {
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 *);