use av_opt_set_int instead of swr_alloc_set_opts
added option to use avresample instead of swresample (for libav)
fixed avresample_convert returning too few samples
removed unused declaration
get travis working again
Merge pull request #6 from markreidvfx/master

Fix for avresample and to get travis working again