[FFmpeg-devel] FFMPEG API

Yosef B yosef.kh at gmail.com
Tue Dec 1 14:48:33 CET 2015


only add the include <frame.h>
and
AVPicture* pConvertedFrame = (AVPicture*)*av_frame_alloc*();

On Tue, Dec 1, 2015 at 2:33 PM, Yosef B <yosef.kh at gmail.com> wrote:

> Hi,
> I'm new with ffmpeg, I'm using the (XX-57) version.
>
> I have the following old code but I can't find the *avcodec_alloc_frame*:
>     AVPicture* pConvertedFrame = *avcodec_alloc_frame*();
>
> *I get:  *
> *error C3861: 'avcodec_alloc_frame': identifier not found *
>
> I tried the *"*
> *get_frame_defaults(pConvertedFrame);" *with no luck!!!
>
> Any idea?
>
> --
>
> Best regards,
>
> J.B.
>



-- 

Best regards,

J.B.


More information about the ffmpeg-devel mailing list