summarylogtreecommitdiffstats
path: root/new_ffmpeg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'new_ffmpeg.patch')
-rw-r--r--new_ffmpeg.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/new_ffmpeg.patch b/new_ffmpeg.patch
new file mode 100644
index 000000000000..5c6d50c60c20
--- /dev/null
+++ b/new_ffmpeg.patch
@@ -0,0 +1,11 @@
+--- src/mediaenc_ffmpeg.cpp
++++ src/mediaenc_ffmpeg.cpp
+@@ -223,7 +223,7 @@
+ c->time_base = (AVRational){ 1, c->sample_rate };
+ // some formats want stream headers to be separate
+ if(m_outputCtx->oformat->flags & AVFMT_GLOBALHEADER)
+- c->flags |= CODEC_FLAG_GLOBAL_HEADER;
++ c->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
+
+ return true;
+ }