编译faac的时候出错了,需要修改代码.

如下:

从123行开始修改此文件mpeg4ip.h,到129行结束。

修改前:

#ifdef __cplusplus
extern "C++" {
#endif
const char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif

修改后:

<span style="color:#444444;">#ifdef __cplusplus
extern </span><span style="color:#ff0000;">"C++" </span><span style="color:#444444;">{
#endif
</span><span style="color:#ff0000;">const</span><span style="color:#444444;"> char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif</span>
编译通过,原文转至:http://www.xsdou.com/1801.html

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3