From owner-freebsd-multimedia@freebsd.org Fri Apr 27 12:53:34 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 CAD50FA76CC for ; Fri, 27 Apr 2018 12:53:34 +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 66B406D734 for ; Fri, 27 Apr 2018 12:53:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2A55EFA76CB; Fri, 27 Apr 2018 12:53:34 +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 066E6FA76CA for ; Fri, 27 Apr 2018 12:53:34 +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 7B1CA6D723 for ; Fri, 27 Apr 2018 12:53:33 +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 A037721813 for ; Fri, 27 Apr 2018 12:53:32 +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 w3RCrWSu004140 for ; Fri, 27 Apr 2018 12:53:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3RCrW26004139 for multimedia@FreeBSD.org; Fri, 27 Apr 2018 12:53:32 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: Fri, 27 Apr 2018 12:53:32 +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: Fri, 27 Apr 2018 12:53:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227726 --- Comment #24 from commit-hook@freebsd.org --- A commit references this bug: Author: jbeich Date: Fri Apr 27 12:53:23 UTC 2018 New revision: 468425 URL: https://svnweb.freebsd.org/changeset/ports/468425 Log: multimedia/vlc: unbreak with ffmpeg 4.0 codec/avcodec/audio.c:99:37: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE' av_malloc( i_size + FF_INPUT_BUFFER_PADDING_SIZE ); ^ codec/avcodec/subtitle.c:147:50: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE' block->i_buffer + FF_INPUT_BUFFER_PADDING_SIZE); ^ codec/avcodec/video.c:254:36: error: use of undeclared identifier 'CODEC_FLAG_GRAY' p_sys->p_context->flags |=3D CODEC_FLAG_GRAY; ^ codec/avcodec/encoder.c:525:20: error: no member named 'border_masking' in 'struct AVCodecContext' p_context->border_masking =3D p_sys->f_border_masking; ~~~~~~~~~ ^ codec/avcodec/encoder.c:534:45: error: use of undeclared identifier 'FF_MAX_B_FRAMES' VLC_CLIP( p_sys->i_b_frames, 0, FF_MAX_B_FRAMES ); ^ codec/avcodec/encoder.c:642:45: error: no member named 'lmin' in 'struct AVCodecContext'; did you mean 'qmin'? p_context->mb_lmin =3D p_context->lmin =3D p_sys->i_qmin * FF_QP2LAMBDA; ^~~~ codec/avcodec/encoder.c:647:45: error: no member named 'lmax' in 'struct AVCodecContext'; did you mean 'qmax'? p_context->mb_lmax =3D p_context->lmax =3D p_sys->i_qmax * FF_QP2LAMBDA; ^~~~ codec/avcodec/encoder.c:660:24: error: no member named 'rc_qsquish' in 'struct AVCodecContext' p_context->rc_qsquish =3D 1.0; ~~~~~~~~~ ^ codec/avcodec/encoder.c:674:24: error: no member named 'rc_buffer_aggressivity' in 'struct AVCodecContext' p_context->rc_buffer_aggressivity =3D p_sys->f_rc_buffer_aggressivity; ~~~~~~~~~ ^ PR: 227726 Obtained from: upstream (VLC 3.0.0) Changes: head/multimedia/vlc/files/patch-ffmpeg40 --=20 You are receiving this mail because: You are on the CC list for the bug.=