Hi, On Sun, Jan 29, 2012 at 8:48 AM, Anton Khirnov <[email protected]> wrote: > int (*encode2)(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame > *frame, > int *got_packet_ptr); > + int (*init)(AVCodecContext *); > + int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); > + int (*close)(AVCodecContext *); > + int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, > AVPacket *avpkt); > + /** > + * Flush buffers. > + * Will be called when seeking > + */ > + void (*flush)(AVCodecContext *); > } AVCodec;
Let's order this so init comes first, then encode/decode, then close? Otherwise OK. Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
