ubuntu中使用最新版ffmpeg

在ubuntu中使用最新版ffmpeg,出现一些错误,现将错误和解决方案列举如下:

 

error 1: libavutil/common.h:170:47: error: ‘UINT64_C’ was not declared in this scope
solution: Add the code below to the common.h
    #ifdef __cplusplus
    #define __STDC_CONSTANT_MACROS
    #ifdef _STDINT_H
    #undef _STDINT_H
    #endif
    # include <stdint.h>
    #endif

posted @ 2011-11-08 04:34  大有|元亨  阅读(479)  评论(0编辑  收藏  举报