mirror of https://git.ffmpeg.org/ffmpeg.git
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
|
@ -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…
Reference in New Issue