aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc3
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)
- {