summarylogtreecommitdiffstats
path: root/new_ffmpeg.patch
blob: 5c6d50c60c20cc4b31c22389af67a544ef49ae2c (plain)
1
2
3
4
5
6
7
8
9
10
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;
 }