Libav09fixes

this fixes the deprecated function calls and uses the new one from libavresample, it builds with latest mxe so no conflicts across platforms.