swap out deprecated libavcodec functions
Merge pull request #2 from jonbinney/7_17

swap out deprecated libavcodec functions