updated to ffmpeg 0.5.1