[Bug 227726] multimedia/ffmpeg: update to 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 2 18:31:10 UTC 2018


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

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

Author: jbeich
Date: Wed May  2 18:30:14 UTC 2018
New revision: 468862
URL: https://svnweb.freebsd.org/changeset/ports/468862

Log:
  multimedia/zoneminder{,-h264}: unbreak with ffmpeg 4.0

  src/zm_mpeg.cpp:243:19: error: use of undeclared identifier
'CODEC_FLAG_QSCALE'
        c->flags |= CODEC_FLAG_QSCALE;
                    ^
  src/zm_mpeg.cpp:268:19: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
        c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                    ^
  src/zm_mpeg.cpp:428:22: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
    if ( !(of->flags & AVFMT_RAWPICTURE) )
                       ^
  src/zm_mpeg.cpp:675:20: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
    if ( of->flags & AVFMT_RAWPICTURE )
                     ^
  src/zm_sdp.cpp:497:38: error: use of undeclared
        identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
                       packet_size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
                                       ^
  src/zm_videostore.cpp:116:31: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
      video_st->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
                                ^
  src/zm_videostore.cpp:149:35: error: use of undeclared identifier
'CODEC_FLAG_GLOBAL_HEADER'
          audio_st->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
                                    ^
  src/zm_videostore.cpp:286:74: error: use of undeclared identifier
'AVFMT_RAWPICTURE'
    if (video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (fmt->flags &
AVFMT_RAWPICTURE)) {
                                                                           ^

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

Changes:
  head/multimedia/zoneminder/Makefile
  head/multimedia/zoneminder/files/patch-ffmpeg4
  head/multimedia/zoneminder-h264/Makefile
  head/multimedia/zoneminder-h264/files/patch-ffmpeg4

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


More information about the freebsd-multimedia mailing list