ffmpeg Common.h error C3861: “UINT64_C”: 找不到标识符

解决方法:在common.h中添加如下代码:

#ifndef INT64_C
#define INT64_C(c) (c ## LL)
#define UINT64_C(c) (c ## ULL)
#endif

#ifdef __cplusplus
#define __STDC_CONSTANT_MACROS
#ifdef _STDINT_H
#undef _STDINT_H
#endif
# include <stdint.h>
#endif

猜你喜欢

转载自blog.csdn.net/summer_9527/article/details/101533118