Revert "Cleaned code and added resampler to tutorial07.c. After that it work works FFMPEG 1.0.7"

This reverts commit e1b5f6679c275243112e27ab8fd2eeb6ae97df16.
Recommit without cleaning up. Added resampler that makes audio work with 1.0.7 and above. One can use libavresampler or libswresampler both can be configured.