fixes to unit tests for 2.4.2 ffmpeg.
update codecs and flags to 2.4.2 ffmpeg
build release ffmpeg on release build