[Bug 227726] multimedia/ffmpeg: update to 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 30 20:41:58 UTC 2018


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

--- Comment #40 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Mon Apr 30 20:41:46 UTC 2018
New revision: 468745
URL: https://svnweb.freebsd.org/changeset/ports/468745

Log:
  net/opal: unbreak with ffmpeg 4.0

  h263-1998.cxx:237:22: error: use of undeclared identifier
'CODEC_FLAG_TRUNCATED'
    m_context->flags = CODEC_FLAG_TRUNCATED  // Possible missing packets
                       ^
  h263-1998.cxx:346:27: error: use of undeclared identifier
'CODEC_FLAG_AC_PRED'
        m_context->flags |= CODEC_FLAG_AC_PRED;
                            ^
  h263-1998.cxx:348:28: error: use of undeclared identifier
'CODEC_FLAG_AC_PRED'
        m_context->flags &= ~CODEC_FLAG_AC_PRED;
                             ^
  h263-1998.cxx:356:27: error: use of undeclared identifier
'CODEC_FLAG_LOOP_FILTER'
        m_context->flags |= CODEC_FLAG_LOOP_FILTER;
                            ^
  h263-1998.cxx:358:28: error: use of undeclared identifier
'CODEC_FLAG_LOOP_FILTER'
        m_context->flags &= ~CODEC_FLAG_LOOP_FILTER;
                             ^
  h263-1998.cxx:422:14: error: no member named 'lmin' in 'AVCodecContext'; did
you mean 'qmin'?
    m_context->lmin = m_context->qmin * FF_QP2LAMBDA;
               ^~~~
               qmin
  /usr/local/include/libavcodec/avcodec.h:2355:9: note: 'qmin' declared here
      int qmin;
          ^
  h263-1998.cxx:423:14: error: no member named 'lmax' in 'AVCodecContext'; did
you mean 'qmax'?
    m_context->lmax = m_context->qmax * FF_QP2LAMBDA;
               ^~~~
               qmax
  /usr/local/include/libavcodec/avcodec.h:2362:9: note: 'qmax' declared here
      int qmax;
          ^
  h263-1998.cxx:598:24: error: use of undeclared identifier 'CODEC_FLAG_4MV'
    m_context->flags &= ~CODEC_FLAG_4MV;
                         ^

  PR:           227726
  Reported by:  antoine (via exp-run)

Changes:
  head/net/opal/files/patch-ffmpeg4

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


More information about the freebsd-multimedia mailing list