Date: Fri, 04 Nov 2016 04:33:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214188] emulators/kcemu: fails to build with ffmpeg 3.x Message-ID: <bug-214188-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214188 Bug ID: 214188 Summary: emulators/kcemu: fails to build with ffmpeg 3.x Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: hardy.schumacher@gmx.de Blocks: 207547 CC: hardy.schumacher@gmx.de Flags: maintainer-feedback?(hardy.schumacher@gmx.de) ffmpeg.cc:79:29: error: use of undeclared identifier 'PIX_FMT_YUV420P'; did= you mean 'AV_PIX_FMT_YUV420P'? _stream->codec->pix_fmt =3D PIX_FMT_YUV420P; ^~~~~~~~~~~~~~~ AV_PIX_FMT_YUV420P /usr/local/include/libavutil/pixfmt.h:62:5: note: 'AV_PIX_FMT_YUV420P' decl= ared here AV_PIX_FMT_YUV420P, ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample p= er 2x2 Y samples) ^ ffmpeg.cc:100:12: error: use of undeclared identifier 'avcodec_alloc_frame' _frame =3D avcodec_alloc_frame(); ^ ffmpeg.cc:159:18: error: use of undeclared identifier 'avcodec_encode_video= '; did you mean 'avcodec_encode_video2'? int out_size =3D avcodec_encode_video(_stream->codec, _buf, _bufsize, _fr= ame); ^~~~~~~~~~~~~~~~~~~~ avcodec_encode_video2 /usr/local/include/libavcodec/avcodec.h:5261:5: note: 'avcodec_encode_video= 2' declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^ ffmpeg.cc:159:55: error: cannot initialize a parameter of type 'AVPacket *' with an lvalue of type 'byte_t *' (aka 'unsigned char *') int out_size =3D avcodec_encode_video(_stream->codec, _buf, _bufsize, _fr= ame); ^~~~ /usr/local/include/libavcodec/avcodec.h:5261:60: note: passing argument to parameter 'avpkt' here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^ http://package23.nyi.freebsd.org/data/103i386-default-PR207547/2016-10-04_1= 8h24m30s/logs/errors/kcemu-0.5.1_8.log Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207547 [Bug 207547] [exp-run] Update ffmpeg to 3.2 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214188-13>