build with ffmpeg 0.9(swr 0.5) support

TODO:
how to resolve runtime version
swr_get_delay
workaround for get sample buffer size

TODO:
why crash for swr 0.5?