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



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