Fixed entry function for ffmpeg and non static channel builds.