make ffmpeg device compilable under recent upstream versions; audio/writer may not be correct yet