Logo Search packages:      
Sourcecode: blender version File versions

AVFrame* avcodec_alloc_frame ( void   ) 

allocates a AVPFrame and set it to defaults. this can be deallocated by simply calling free()

Definition at line 833 of file utils.c.

References av_malloc(), and avcodec_alloc_frame().

Referenced by avcodec_alloc_frame().

    AVFrame *pic= av_malloc(sizeof(AVFrame));

    if(pic==NULL) return NULL;


    return pic;

Generated by  Doxygen 1.6.0   Back to index