* compile with ffmpeg <= 0.8