Commit 80b3590e authored by kabi's avatar kabi

* headers valid for C++ compilers


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1521 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e1dfc773
#ifndef AVCODEC_H #ifndef AVCODEC_H
#define AVCODEC_H #define AVCODEC_H
#ifdef __cplusplus
extern "C" {
#endif
#include "common.h" #include "common.h"
#define LIBAVCODEC_VERSION_INT 0x000406 #define LIBAVCODEC_VERSION_INT 0x000406
...@@ -1245,4 +1249,8 @@ void av_free_static(void); ...@@ -1245,4 +1249,8 @@ void av_free_static(void);
void *__av_mallocz_static(void** location, unsigned int size); void *__av_mallocz_static(void** location, unsigned int size);
#define av_mallocz_static(p, s) __av_mallocz_static((void **)(p), s) #define av_mallocz_static(p, s) __av_mallocz_static((void **)(p), s)
#ifdef __cplusplus
}
#endif
#endif /* AVCODEC_H */ #endif /* AVCODEC_H */
#ifndef AVFORMAT_H #ifndef AVFORMAT_H
#define AVFORMAT_H #define AVFORMAT_H
#ifdef __cplusplus
extern "C" {
#endif
#define LIBAVFORMAT_VERSION_INT 0x000406 #define LIBAVFORMAT_VERSION_INT 0x000406
#define LIBAVFORMAT_VERSION "0.4.6" #define LIBAVFORMAT_VERSION "0.4.6"
#define LIBAVFORMAT_BUILD 4603 #define LIBAVFORMAT_BUILD 4603
...@@ -403,4 +407,8 @@ int match_ext(const char *filename, const char *extensions); ...@@ -403,4 +407,8 @@ int match_ext(const char *filename, const char *extensions);
#endif /* HAVE_AV_CONFIG_H */ #endif /* HAVE_AV_CONFIG_H */
#ifdef __cplusplus
}
#endif
#endif /* AVFORMAT_H */ #endif /* AVFORMAT_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment