Made bs1770gain compilable (again) with decent FFmpeg.