const uint8_t *av_restrict start

Sir_Soft 2013-04-15 03:04:01
请问下 在linux 下面const uint8_t *av_restrict start这样写编译器就报错啊


jni/ffmpeg/libavformat/rtpenc.h:95:78: error: expected ';', ',' or ')' before 'start'
make: *** [obj/local/armeabi/objs/avformat/movenc.o] Error 1
...全文
252 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Sir_Soft 2013-04-16
  • 打赏
  • 举报
回复
解决了 原来是忘记把config.h里面的#defind av_restrict restrict改为 #defind av_restrict 了
Sir_Soft 2013-04-15
  • 打赏
  • 举报
回复
完整的是这样子的 const uint8_t *ff_h263_find_resync_marker_reverse(const uint8_t *av_restrict start, const uint8_t *av_restrict end);
xiaoyao18301 2013-04-15
  • 打赏
  • 举报
回复
你是想创建const uint8_t 类型的指针av_restrict 和const uint8_t 类型的start变量?? 分隔符在哪里?!

69,369

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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