Table of Contents

avcodec_alloc_frame

Overview

Defined in avcodec.h

Allocates an AVFrame and sets its fields to default values. The resulting struct can be deallocated by simply calling av_free().

AVFrame *avcodec_alloc_frame(void);

Parameters

NONE

Return value

An AVFrame pointer filled with default values or NULL on failure.

See also

avcodec_get_frame_defaults()


Back to ffmpeg