Start avpicture deprecation

This commit is contained in:
SteveGilvarry 2016-02-27 01:23:20 +11:00
parent 28e94764d7
commit e70d037895
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ int FfmpegCamera::Capture( Image &image )
if ( frameComplete )
{
Debug( 3, "Got frame %d", frameCount );
avpicture_fill( (AVPicture *)mFrame, directbuffer, imagePixFormat, width, height);
av_image_fill_arrays(mFrame->data, mFrame->linesize, directbuffer, imagePixFormat, width, height, 1);
//avpicture_fill( (AVPicture *)mFrame, directbuffer, imagePixFormat, width, height);
#if HAVE_LIBSWSCALE
if(mConvertContext == NULL) {