#include #include #include #include #include #include typedef struct { AVCodec *codec; AVCodecContext *codecCtx; AVFrame *frame; AVDictionary *options; } FFCtx;