encode_lavc.c:242:21: error: ‘AVPicture’ undeclared (first use in this function); did you mean ‘AVPictureType’? 242 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, vframe->video_buf, | ^~~~~~~~~ | AVPictureType encode_lavc.c:242:21: note: each undeclared identifier is reported only once for each function it appears in encode_lavc.c:242:32: error: expected expression before ‘)’ token 242 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, vframe->video_buf, | ^ encode_lavc.c: In function ‘pre_encode_video_yuv420p_huffyuv’: encode_lavc.c:256:21: error: ‘AVPicture’ undeclared (first use in this function); did you mean ‘AVPictureType’? 256 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, pd->vframe_buf->video_buf, | ^~~~~~~~~ | AVPictureType encode_lavc.c:256:32: error: expected expression before ‘)’ token 256 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, pd->vframe_buf->video_buf, | ^ encode_lavc.c: In function ‘pre_encode_video_yuv422p’: encode_lavc.c:272:21: error: ‘AVPicture’ undeclared (first use in this function); did you mean ‘AVPictureType’? 272 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, pd->vframe_buf->video_buf, | ^~~~~~~~~ | AVPictureType encode_lavc.c:272:32: error: expected expression before ‘)’ token 272 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, pd->vframe_buf->video_buf, | ^ encode_lavc.c: In function ‘pre_encode_video_yuv422p_huffyuv’: encode_lavc.c:284:21: error: ‘AVPicture’ undeclared (first use in this function); did you mean ‘AVPictureType’? 284 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, vframe->video_buf, | ^~~~~~~~~ | AVPictureType encode_lavc.c:284:32: error: expected expression before ‘)’ token 284 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, vframe->video_buf, | ^ encode_lavc.c: In function ‘pre_encode_video_rgb24’: encode_lavc.c:294:21: error: ‘AVPicture’ undeclared (first use in this function); did you mean ‘AVPictureType’? 294 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, pd->vframe_buf->video_buf, | ^~~~~~~~~ | AVPictureType encode_lavc.c:294:32: error: expected expression before ‘)’ token 294 | avpicture_fill((AVPicture *)&pd->ff_venc_frame, pd->vframe_buf->video_buf, | ^ encode_lavc.c: In function ‘psnr_write’: encode_lavc.c:506:38: error: ‘AVCodecContext’ has no member named ‘coded_frame’ 506 | #define PFRAME(PD) ((PD)->ff_vcontext.coded_frame) | ^ encode_lavc.c:526:17: note: in expansion of macro ‘PFRAME’ 526 | PFRAME(pd)->error[0], | ^~~~~~ encode_lavc.c:506:38: error: ‘AVCodecContext’ has no member named ‘coded_frame’ 506 | #define PFRAME(PD) ((PD)->ff_vcontext.coded_frame) | ^ Reproducible: Always
Created attachment 766089 [details] build.log.gz
Created attachment 766090 [details] emerge-info.txt
Compiles fine with ffmpeg-4.4.1
No need to duplicate those. *** This bug has been marked as a duplicate of bug 831482 ***