comparison avcodec.h @ 1212:fbbc429a6fc2 libavcodec

* more strict types
author kabi
date Wed, 23 Apr 2003 08:56:14 +0000
parents ede882dd601f
children 327c5a36dfe7
comparison
equal deleted inserted replaced
1211:126f766bc4c5 1212:fbbc429a6fc2
1139 /** 1139 /**
1140 * AVCodec. 1140 * AVCodec.
1141 */ 1141 */
1142 typedef struct AVCodec { 1142 typedef struct AVCodec {
1143 const char *name; 1143 const char *name;
1144 int type; 1144 enum CodecType type;
1145 int id; 1145 int id;
1146 int priv_data_size; 1146 int priv_data_size;
1147 int (*init)(AVCodecContext *); 1147 int (*init)(AVCodecContext *);
1148 int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); 1148 int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data);
1149 int (*close)(AVCodecContext *); 1149 int (*close)(AVCodecContext *);