diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-04-25 01:44:13 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2018-04-25 01:44:13 +0800 |
commit | 07f915c735231c5457330eddb58f51fa8665eb05 (patch) | |
tree | 590061e48ed04a818e72cb7c69c39de6ccc20faa | |
parent | 7b8bf67bc013ae9d02ca42c74767b06d2d469e26 (diff) | |
download | freebsd-ports-gnome-07f915c735231c5457330eddb58f51fa8665eb05.tar.gz freebsd-ports-gnome-07f915c735231c5457330eddb58f51fa8665eb05.tar.zst freebsd-ports-gnome-07f915c735231c5457330eddb58f51fa8665eb05.zip |
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
-rw-r--r-- | emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc b/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc index e60688876c8c..632db32f351e 100644 --- a/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc +++ b/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc @@ -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) - { |