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