Mercurial > libavformat.hg
comparison avformat.h @ 2088:02150368fd80 libavformat
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 | 64bd1b09cef2 |
children | 12a46571c0c9 |
comparison
equal
deleted
inserted
replaced
2087:fa4066708500 | 2088:02150368fd80 |
---|---|
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 */ | 19 */ |
20 | 20 |
21 #ifndef AVFORMAT_H | 21 #ifndef AVFORMAT_H |
22 #define AVFORMAT_H | 22 #define AVFORMAT_H |
23 | |
24 #ifdef __cplusplus | |
25 extern "C" { | |
26 #endif | |
27 | 23 |
28 #define LIBAVFORMAT_VERSION_INT ((51<<16)+(12<<8)+1) | 24 #define LIBAVFORMAT_VERSION_INT ((51<<16)+(12<<8)+1) |
29 #define LIBAVFORMAT_VERSION 51.12.1 | 25 #define LIBAVFORMAT_VERSION 51.12.1 |
30 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT | 26 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT |
31 | 27 |
887 | 883 |
888 int match_ext(const char *filename, const char *extensions); | 884 int match_ext(const char *filename, const char *extensions); |
889 | 885 |
890 #endif /* HAVE_AV_CONFIG_H */ | 886 #endif /* HAVE_AV_CONFIG_H */ |
891 | 887 |
892 #ifdef __cplusplus | |
893 } | |
894 #endif | |
895 | |
896 #endif /* AVFORMAT_H */ | 888 #endif /* AVFORMAT_H */ |
897 | 889 |