ffmpeg应用程序编译出错

小听风 2014-05-19 04:23:52
写了一个例子,调用ffmpeg的函数。编译出现以下错误,gcc版本gcc (Ubuntu/Linaro 4.6.4-1ubuntu1~10.04) 4.6.4:


sample.c: In function ‘main’:
sample.c:130:7: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type [enabled by default]
/usr/local/include/libswscale/swscale.h:224:5: note: expected ‘const uint8_t * const*’ but argument is of type ‘uint8_t **’
/usr/bin/ld: cannot find -ld
collect2: ld returned 1 exit status
...全文
227 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

1,450

社区成员

发帖
与我相关
我的任务
社区描述
多媒体/设计/Flash/Silverlight 开发 图象工具使用
社区管理员
  • 图象工具使用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧