摘要: 步骤如下:1.下载官网永远是王道,呵呵:http://ffmpeg.org/download.html或者svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg2.编译运行./configure很不幸,运行configure后出现了错误提示:yasmnotfound,use–disable-yasmforacrippledbuild解决方案:sudoapt-getinstallyasm重新./configure,搞定makemakeinstall权限不够需要前面加上sudo编译源码:一定注意加载库的顺序.参考代码:#include #in 阅读全文
posted @ 2013-08-23 18:10 Bigben 阅读(877) 评论(0) 推荐(0) 编辑
摘要: SDL_BlitSurfaceUse this function to perform a fast surface copy to a destination surface.ContentsSDL_BlitSurfaceSyntaxFunction ParametersReturn ValueCode ExamplesRemarksRelated FunctionsSyntaxToggle line numbersint SDL_BlitSurface(SDL_Surface* src, const SDL_Rect* srcrect, ... 阅读全文
posted @ 2013-08-23 10:42 Bigben 阅读(1081) 评论(0) 推荐(0) 编辑