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:
parent
a9f8715854
commit
6ddaa63cf4
1 changed files with 1 additions and 1 deletions
|
@ -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 *);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue