[FFmpeg-devel] FFMPEG API

2015-12-01 Thread Yosef B
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(p

Re: [FFmpeg-devel] FFMPEG API

2015-12-01 Thread Yosef B
only add the include and AVPicture* pConvertedFrame = (AVPicture*)*av_frame_alloc*(); On Tue, Dec 1, 2015 at 2:33 PM, Yosef B 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_al