Mercurial > libavcodec.hg
comparison avcodec.h @ 5012:3769553b95a2 libavcodec
Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.
author | diego |
---|---|
date | Wed, 16 May 2007 12:25:54 +0000 |
parents | 4d0e94e001e1 |
children | a19b508f78d7 |
comparison
equal
deleted
inserted
replaced
5011:03aa103464d4 | 5012:3769553b95a2 |
---|---|
24 /** | 24 /** |
25 * @file avcodec.h | 25 * @file avcodec.h |
26 * external API header | 26 * external API header |
27 */ | 27 */ |
28 | 28 |
29 | |
30 #ifdef __cplusplus | |
31 extern "C" { | |
32 #endif | |
33 | 29 |
34 #include "avutil.h" | 30 #include "avutil.h" |
35 #include <sys/types.h> /* size_t */ | 31 #include <sys/types.h> /* size_t */ |
36 | 32 |
37 #define AV_STRINGIFY(s) AV_TOSTRING(s) | 33 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
3150 #define AVERROR_NOMEM AVERROR(ENOMEM) /**< not enough memory */ | 3146 #define AVERROR_NOMEM AVERROR(ENOMEM) /**< not enough memory */ |
3151 #define AVERROR_NOFMT AVERROR(EILSEQ) /**< unknown format */ | 3147 #define AVERROR_NOFMT AVERROR(EILSEQ) /**< unknown format */ |
3152 #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */ | 3148 #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */ |
3153 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ | 3149 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ |
3154 | 3150 |
3155 #ifdef __cplusplus | |
3156 } | |
3157 #endif | |
3158 | |
3159 #endif /* AVCODEC_H */ | 3151 #endif /* AVCODEC_H */ |