Commit 574b379c authored by michael's avatar michael

The buffer passed into the decoder should be const.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11704 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b040983d
...@@ -2200,7 +2200,7 @@ typedef struct AVCodec { ...@@ -2200,7 +2200,7 @@ typedef struct AVCodec {
int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data);
int (*close)(AVCodecContext *); int (*close)(AVCodecContext *);
int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, int (*decode)(AVCodecContext *, void *outdata, int *outdata_size,
uint8_t *buf, int buf_size); const uint8_t *buf, int buf_size);
int capabilities; int capabilities;
struct AVCodec *next; struct AVCodec *next;
void (*flush)(AVCodecContext *); void (*flush)(AVCodecContext *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment