This is a revise version for ffmpeg-iOS 7 with 2.1.1