Date: Thu, 03 May 2018 19:51:24 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 227726] multimedia/ffmpeg: update to 4.0 Message-ID: <bug-227726-12827-iEexnb3z7J@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-227726-12827@https.bugs.freebsd.org/bugzilla/> References: <bug-227726-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227726 --- Comment #63 from commit-hook@freebsd.org --- A commit references this bug: Author: jbeich Date: Thu May 3 19:50:40 UTC 2018 New revision: 468981 URL: https://svnweb.freebsd.org/changeset/ports/468981 Log: multimedia/vdr-plugin-markad: unbreak with ffmpeg 4.0 decoder.cpp:175:23: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'? video_codecid=3DAV_CODEC_ID_MPEG2VIDEO_XVMC; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG2VIDEO /usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VI= DEO' declared here AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding ^ decoder.cpp:179:43: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'? if ((!video_codec) && (video_codecid=3D=3DAV_CODEC_ID_MPEG2VIDEO_XVMC= )) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG2VIDEO /usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VI= DEO' declared here AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding ^ decoder.cpp:191:45: error: use of undeclared identifier 'CODEC_CAP_TRUNCA= TED' if (video_codec->capabilities & CODEC_CAP_TRUNCATED) ^ decoder.cpp:192:39: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED' video_context->flags|=3DCODEC_FLAG_TRUNCATED; // we do no= t send complete frames ^ decoder.cpp:194:36: error: use of undeclared identifier 'CODEC_FLAG2_FAST' video_context->flags2|=3DCODEC_FLAG2_FAST; // really? ^ decoder.cpp:201:40: error: use of undeclared identifier 'CODEC_FLAG2_CHUN= KS' video_context->flags2|=3DCODEC_FLAG2_CHUNKS; // needed for H264! ^ decoder.cpp:214:46: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'? if ((ret < 0) && (video_codecid=3D=3DAV_CODEC_ID_MPEG2VIDEO_X= VMC)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG2VIDEO /usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VI= DEO' declared here AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding ^ decoder.cpp:224:43: error: no member named 'codec_name' in 'AVCodecContex= t'; did you mean 'coded_frame'? =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 memset(video_context->codec_name,0,sizeof(video_context->codec_name)); ^~~~~~~~~~ coded_frame /usr/local/include/libavcodec/avcodec.h:2760:35: note: 'coded_frame' decl= ared here attribute_deprecated AVFrame *coded_frame; ^ decoder.cpp:224:78: error: no member named 'codec_name' in 'AVCodecContex= t' =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 memset(video_context->codec_name,0,sizeof(video_context->codec_name)); ~~~~~~~~~~~= ~~=20 ^ decoder.cpp:244:22: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'? case AV_CODEC_ID_MPEG2VIDEO_XVMC: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG2VIDEO /usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VI= DEO' declared here AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding ^ decoder.cpp:247:22: error: duplicate case value 'AV_CODEC_ID_MPEG2VIDEO' case AV_CODEC_ID_MPEG2VIDEO: ^ decoder.cpp:244:22: note: previous case defined here case AV_CODEC_ID_MPEG2VIDEO_XVMC: ^ decoder.cpp:305:14: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'? case AV_CODEC_ID_MPEG2VIDEO_XVMC: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG2VIDEO /usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VI= DEO' declared here AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding ^ decoder.cpp:308:14: error: duplicate case value 'AV_CODEC_ID_MPEG2VIDEO' case AV_CODEC_ID_MPEG2VIDEO: ^ decoder.cpp:305:14: note: previous case defined here case AV_CODEC_ID_MPEG2VIDEO_XVMC: ^ PR: 227726 Reported by: antoine (via exp-run) Changes: head/multimedia/vdr-plugin-markad/Makefile head/multimedia/vdr-plugin-markad/files/patch-command_decoder.cpp --=20 You are receiving this mail because: You are on the CC list for the bug. 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-227726-12827-iEexnb3z7J>