=====avcodec_alloc_context===== ====Overview==== Defined in ''avcodec.h''\\ Allocates an AVCodecContext and sets its fields to default values. The resulting struct can be deallocated by simply calling [[ffmpeg:av_free()]]. AVCodecContext *avcodec_alloc_context(void); ====Parameters==== ====Return value==== An [[ffmpeg:AVCodecContext]] filled with default values or NULL on failure. ====See also==== [[ffmpeg:avcodec_get_context_defaults()]] ---- Back to [[ffmpeg:ffmpeg]]