Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2018 17:44:13 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468224 - head/emulators/kcemu/files
Message-ID:  <201804241744.w3OHiDxn047572@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Apr 24 17:44:13 2018
New Revision: 468224
URL: https://svnweb.freebsd.org/changeset/ports/468224

Log:
  emulators/kcemu: unbreak with ffmpeg 4.0
  
  ffmpeg.cc:83:30: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
      _stream->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
                               ^
  
  PR:		227726

Modified:
  head/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc   (contents, props changed)

Modified: head/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc
==============================================================================
--- head/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc	Tue Apr 24 17:36:17 2018	(r468223)
+++ head/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc	Tue Apr 24 17:44:13 2018	(r468224)
@@ -36,7 +36,8 @@
  
    // some formats want stream headers to be separate
    if (_context->oformat->flags & AVFMT_GLOBALHEADER)
-     _stream->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
+-    _stream->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
++    _stream->codec->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
  
 -  if (av_set_parameters(_context, NULL) < 0)
 -    {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804241744.w3OHiDxn047572>