summaryrefslogtreecommitdiff
blob: 39966dd1dfb835bde0f5ef93d84d77b88d4654d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: DVDStyler-3.0.4/src/mediaenc_ffmpeg.cpp
===================================================================
--- DVDStyler-3.0.4.orig/src/mediaenc_ffmpeg.cpp
+++ DVDStyler-3.0.4/src/mediaenc_ffmpeg.cpp
@@ -223,7 +223,7 @@ bool wxFfmpegMediaEncoder::addAudioStrea
 	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;
 }