Fixes for OSX ffmpeg macports installation
Fixes for latest ffmpeg depreciated methods and constants
Merge pull request #24 from danrossi/master

Fixes for latest ffmpeg and macports build