AVCodecContext.refs

number of reference frames - encoding: Set by user. - decoding: Set by lavc.

struct AVCodecContext
int refs;

Meta