Use of ffmpeg 4.x.x

Sorry, formatting in last post was horrible. Shoot me, I got lazy :stuck_out_tongue:

Insert new code at line 427 of ImportFFmpeg.cpp

AVDictionary* opts = NULL;

		 if (id == AV_CODEC_ID_AC3) 
		 {
			 av_dict_set(&opts, "drc_scale", "0", 0);
		 }

Change existing line immediately following from:

if (avcodec_open2(sc->m_codecCtx, codec, NULL) < 0)

to:

if (avcodec_open2(sc->m_codecCtx, codec, &opts) < 0)