User Tools

Site Tools


ffmpeg:avcodec_alloc_frame

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

ffmpeg/avcodec_alloc_frame.txt · Last modified: 2007/11/26 10:58 by deva