From owner-freebsd-multimedia@freebsd.org Mon Apr 30 18:32:04 2018 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82C72FB2DCF for ; Mon, 30 Apr 2018 18:32:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1F0D985197 for ; Mon, 30 Apr 2018 18:32:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D6FE6FB2DCD; Mon, 30 Apr 2018 18:32:03 +0000 (UTC) Delivered-To: multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99165FB2DCC for ; Mon, 30 Apr 2018 18:32:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31C3E85185 for ; Mon, 30 Apr 2018 18:32:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 62D4627A8 for ; Mon, 30 Apr 2018 18:32:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3UIW2IR051692 for ; Mon, 30 Apr 2018 18:32:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3UIW2oO051689 for multimedia@FreeBSD.org; Mon, 30 Apr 2018 18:32:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 227726] multimedia/ffmpeg: update to 4.0 Date: Mon, 30 Apr 2018 18:32:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? exp-run? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 18:32:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227726 --- Comment #37 from commit-hook@freebsd.org --- A commit references this bug: Author: jbeich Date: Mon Apr 30 18:31:43 UTC 2018 New revision: 468734 URL: https://svnweb.freebsd.org/changeset/ports/468734 Log: multimedia/transcode: unbreak with ffmpeg 4.0 export_ffmpeg.c:834:24: error: no member named 'lmin' in 'struct AVCodecContext'; did you mean 'qmin'? lavc_venc_context->lmin=3D (int)(FF_QP2LAMBDA * lavc_param_lmin + 0.5= ); ^~~~ qmin /usr/local/include/libavcodec/avcodec.h:2355:9: note: 'qmin' declared here int qmin; ^ export_ffmpeg.c:835:24: error: no member named 'lmax' in 'struct AVCodecContext'; did you mean 'qmax'? lavc_venc_context->lmax=3D (int)(FF_QP2LAMBDA * lavc_param_lmax + 0.5= ); ^~~~ qmax /usr/local/include/libavcodec/avcodec.h:2362:9: note: 'qmax' declared here int qmax; ^ export_ffmpeg.c:841:24: error: no member named 'rc_strategy' in 'struct AVCodecContext' lavc_venc_context->rc_strategy =3D lavc_param_vrc_strategy; ~~~~~~~~~~~~~~~~~ ^ export_ffmpeg.c:859:24: error: no member named 'rc_qsquish' in 'struct AVCodecContext' lavc_venc_context->rc_qsquish =3D lavc_param_rc_qsquish; ~~~~~~~~~~~~~~~~~ ^ export_ffmpeg.c:860:24: error: no member named 'rc_qmod_amp' in 'struct AVCodecContext' lavc_venc_context->rc_qmod_amp =3D lavc_param_rc_qmod_amp; ~~~~~~~~~~~~~~~~~ ^ export_ffmpeg.c:861:24: error: no member named 'rc_qmod_freq' in 'struct AVCodecContext' lavc_venc_context->rc_qmod_freq =3D lavc_param_rc_qmod_freq; ~~~~~~~~~~~~~~~~~ ^ export_ffmpeg.c:862:24: error: no member named 'rc_eq' in 'struct AVCodecContext' lavc_venc_context->rc_eq =3D lavc_param_rc_eq; ~~~~~~~~~~~~~~~~~ ^ export_ffmpeg.c:866:24: error: no member named 'rc_buffer_aggressivity' in 'struct AVCodecContext' lavc_venc_context->rc_buffer_aggressivity=3D lavc_param_rc_buffer_aggressivity; ~~~~~~~~~~~~~~~~~ ^ export_ffmpeg.c:867:24: error: no member named 'rc_initial_cplx' in 'stru= ct AVCodecContext' lavc_venc_context->rc_initial_cplx =3D lavc_param_rc_initial_cplx; ~~~~~~~~~~~~~~~~~ ^ export_ffmpeg.c:875:24: error: no member named 'intra_quant_bias' in 'str= uct AVCodecContext' lavc_venc_context->intra_quant_bias =3D lavc_param_ibias; ~~~~~~~~~~~~~~~~~ ^ export_ffmpeg.c:876:24: error: no member named 'inter_quant_bias' in 'str= uct AVCodecContext' lavc_venc_context->inter_quant_bias =3D lavc_param_pbias; ~~~~~~~~~~~~~~~~~ ^ export_ffmpeg.c:1090:37: error: use of undeclared identifier 'CODEC_FLAG_GRAY' lavc_venc_context->flags |=3D CODEC_FLAG_GRAY; ^ export_ffmpeg.c:1092:37: error: use of undeclared identifier 'CODEC_FLAG_NORMALIZE_AQP' lavc_venc_context->flags |=3D CODEC_FLAG_NORMALIZE_AQP; ^ export_ffmpeg.c:1110:9: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_DCT' CODEC_FLAG_INTERLACED_DCT : 0; ^ export_ffmpeg.c:1112:9: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_ME' CODEC_FLAG_INTERLACED_ME : 0; ^ export_ffmpeg.c:1159:37: error: use of undeclared identifier 'CODEC_FLAG_PASS1' lavc_venc_context->flags |=3D CODEC_FLAG_PASS1; ^ export_ffmpeg.c:1173:37: error: use of undeclared identifier 'CODEC_FLAG_PASS2' lavc_venc_context->flags |=3D CODEC_FLAG_PASS2; ^ export_ffmpeg.c:1204:39: error: use of undeclared identifier 'CODEC_FLAG_QSCALE' lavc_venc_context->flags |=3D CODEC_FLAG_QSCALE; ^ export_ffmpeg.c:1209:24: error: no member named 'me_method' in 'struct AVCodecContext' lavc_venc_context->me_method =3D ME_ZERO + lavc_param_vme; ~~~~~~~~~~~~~~~~~ ^ PR: 227726 Reported by: antoine (via exp-run) Obtained from: Gentoo Changes: head/multimedia/transcode/Makefile head/multimedia/transcode/files/patch-ffmpeg4 head/multimedia/transcode/files/patch-libav-10.patch --=20 You are receiving this mail because: You are on the CC list for the bug.=