- added types patch (fixes types mismatch on ILP32 archs)
- added ffmpeg patch (fixes build with ffmpeg2)