Add detection of ffmpeg 2.2
Update configure