Table of Contents

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 av_free().

AVCodecContext *avcodec_alloc_context(void);

Parameters

Return value

An AVCodecContext filled with default values or NULL on failure.

See also

avcodec_get_context_defaults()


Back to ffmpeg