Add compatibility for ffmpeg-2 (spotted by Lars Wendler/Gentoo)
Merge pull request #57 from mape2k/master

- fixed: compatibility with ffmpeg 2.x