changeset 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 03aa103464d4
children c7904664624c
files avcodec.h
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Wed May 16 10:50:18 2007 +0000
+++ b/avcodec.h	Wed May 16 12:25:54 2007 +0000
@@ -27,10 +27,6 @@
  */
 
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include "avutil.h"
 #include <sys/types.h> /* size_t */
 
@@ -3152,8 +3148,4 @@
 #define AVERROR_NOTSUPP     AVERROR(ENOSYS)  /**< Operation not supported. */
 #define AVERROR_NOENT       AVERROR(ENOENT)  /**< No such file or directory. */
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* AVCODEC_H */