add support for ffmpeg version 2.0

tested on Mac OS X 10.6.8 with ruby 1.9.3-p448 and 2.0.0-p247