[Bug 227726] multimedia/ffmpeg: update to 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 4 11:41:23 UTC 2018


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

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

Author: jbeich
Date: Fri May  4 11:40:45 UTC 2018
New revision: 469018
URL: https://svnweb.freebsd.org/changeset/ports/469018

Log:
  graphics/php5-ffmpeg: unbreak with ffmpeg 4.0

  ffmpeg_movie.c:978:29: error: no member named 'codec_name' in 'struct
AVCodecContext'; did you mean 'coded_frame'?
      } else if (decoder_ctx->codec_name[0] != '\0') {
                              ^~~~~~~~~~
                              coded_frame
  /usr/local/include/libavcodec/avcodec.h:2760:35: note: 'coded_frame' declared
here
      attribute_deprecated AVFrame *coded_frame;
                                    ^
  ffmpeg_movie.c:978:43: error: invalid operands to binary expression
('AVFrame' (aka 'struct AVFrame') and 'int')
      } else if (decoder_ctx->codec_name[0] != '\0') {
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
  ffmpeg_movie.c:979:35: error: no member named 'codec_name' in 'struct
AVCodecContext'
          codec_name = decoder_ctx->codec_name;
                       ~~~~~~~~~~~  ^

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

Changes:
  head/graphics/php5-ffmpeg/Makefile
  head/graphics/php5-ffmpeg/files/patch-ffmpeg_movie.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