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; }