Hi, Why is avctx->opaque initialized in vd_ffmpeg.c::decode() and not in vd_ffmpeg.c::init()? AVCodecContext::get_format() could be called from an AVCodec::init() function but avctx->opaque (sh_video_t *) is not initialized at this time, so init_vo() can't be called from a custom ::get_format(). Thanks, Gwenole