Defined in avcodec.h
Allocates an AVCodecContext and sets its fields to default values. The resulting struct can be deallocated by simply calling av_free().
AVCodecContext *avcodec_alloc_context(void);
An AVCodecContext filled with default values or NULL on failure.