summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-05-16 12:25:54 +0000
committerDiego Biurrun <diego@biurrun.de>2007-05-16 12:25:54 +0000
commit605315248cb59d9c4213c7035175b6e930d3b66e (patch)
tree50bcbed1bb3b79681ed78efd12a5f37784e1fe8d /libavcodec/avcodec.h
parent31d89e1158612481885f4d635edd819cca4792cf (diff)
Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations. Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 844945cb77..95b26a7a3d 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -27,10 +27,6 @@
*/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "avutil.h"
#include <sys/types.h> /* size_t */
@@ -3152,8 +3148,4 @@ extern unsigned int av_xiphlacing(unsigned char *s, unsigned int v);
#define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */
#define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */
-#ifdef __cplusplus
-}
-#endif
-
#endif /* AVCODEC_H */