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...@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.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to