- fix building with ffmpeg 2