[Bug 227726] multimedia/ffmpeg: update to 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 27 12:53:35 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227726

--- Comment #24 from commit-hook at 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 |= CODEC_FLAG_GRAY;
                                     ^
  codec/avcodec/encoder.c:525:20: error: no member named 'border_masking' in
'struct AVCodecContext'
          p_context->border_masking = 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 = p_context->lmin = 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 = p_context->lmax = 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 = 1.0;
              ~~~~~~~~~  ^
  codec/avcodec/encoder.c:674:24: error: no member named
'rc_buffer_aggressivity' in 'struct AVCodecContext'
              p_context->rc_buffer_aggressivity =
p_sys->f_rc_buffer_aggressivity;
              ~~~~~~~~~  ^

  PR:           227726
  Obtained from:        upstream (VLC 3.0.0)

Changes:
  head/multimedia/vlc/files/patch-ffmpeg40

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-multimedia mailing list