comparison avcodec.h @ 2322:4140f2e78ebc libavcodec

type fix
author michael
date Mon, 25 Oct 2004 15:37:13 +0000
parents f9f257b41ec2
children 1180a04d64c5
comparison
equal deleted inserted replaced
2321:a9f79085b01d 2322:4140f2e78ebc
1730 * AVCodec. 1730 * AVCodec.
1731 */ 1731 */
1732 typedef struct AVCodec { 1732 typedef struct AVCodec {
1733 const char *name; 1733 const char *name;
1734 enum CodecType type; 1734 enum CodecType type;
1735 int id; 1735 enum CodecID id;
1736 int priv_data_size; 1736 int priv_data_size;
1737 int (*init)(AVCodecContext *); 1737 int (*init)(AVCodecContext *);
1738 int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); 1738 int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data);
1739 int (*close)(AVCodecContext *); 1739 int (*close)(AVCodecContext *);
1740 int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, 1740 int (*decode)(AVCodecContext *, void *outdata, int *outdata_size,