[Bug 227726] multimedia/ffmpeg: update to 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 3 19:21:01 UTC 2018


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

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

Author: jbeich
Date: Thu May  3 19:20:29 UTC 2018
New revision: 468978
URL: https://svnweb.freebsd.org/changeset/ports/468978

Log:
  audio/idjc: unbreak with ffmpeg 4.0

  avcodec_encoder.c:118:78: error: 'FF_INPUT_BUFFER_PADDING_SIZE' undeclared
(first use in this function)
           if (posix_memalign((void *)&s->inbuf, BYTE_ALIGNMENT, s->inbufsize +
FF_INPUT_BUFFER_PADDING_SIZE)) {
                                                                               
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  avcodec_encoder.c:125:68: error: 'FF_MIN_BUFFER_SIZE' undeclared (first use
in this function)
           if (posix_memalign((void *)&s->avpkt.data, BYTE_ALIGNMENT,
FF_MIN_BUFFER_SIZE)) {
                                                                     
^~~~~~~~~~~~~~~~~~
  avcodec_encoder.c:199:52: error: 'CODEC_CAP_DELAY' undeclared (first use in
this function)
               if (final && (s->codec->capabilities | CODEC_CAP_DELAY)) {
                                                      ^~~~~~~~~~~~~~~
  avcodec_encoder.c:212:71: error: 'CODEC_CAP_VARIABLE_FRAME_SIZE' undeclared
(first use in this function)
               if (!final || s->codec->capabilities & (CODEC_CAP_DELAY |
CODEC_CAP_VARIABLE_FRAME_SIZE | CODEC_CAP_SMALL_LAST_FRAME)) {
                                                                        
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  avcodec_encoder.c:212:103: error: 'CODEC_CAP_SMALL_LAST_FRAME' undeclared
(first use in this function)
               if (!final || s->codec->capabilities & (CODEC_CAP_DELAY |
CODEC_CAP_VARIABLE_FRAME_SIZE | CODEC_CAP_SMALL_LAST_FRAME)) {
                                                                               
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~

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

Changes:
  head/audio/idjc/Makefile
  head/audio/idjc/files/
  head/audio/idjc/files/patch-c_avcodec__encoder.c

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


More information about the freebsd-multimedia mailing list