Always request decoding to S16
Use av_free_frame instead of av_free
use av_malloc instead of arrays
Skip ahead by actually decoding to the target timestamp

I can't reliably get av_seek_file to work, so doing this for now.
Merge pull request #34 from jstamp/ffmpeg-fixes

Ffmpeg fixes