AVCodecContext.width

picture width / height.

@note Those fields may not match the values of the last AVFrame output by avcodec_decode_video2 due frame reordering.

- encoding: MUST be set by user. - decoding: May be set by the user before opening the decoder if known e.g. from the container. Some decoders will require the dimensions to be set by the caller. During decoding, the decoder may overwrite those values as required while parsing the data.

struct AVCodecContext
int width;

Meta