Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2018 12:53:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 227726] multimedia/ffmpeg: update to 4.0
Message-ID:  <bug-227726-12827-SWLWtbnOhc@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 #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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227726-12827-SWLWtbnOhc>