projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aee40d
)
Allow swscale emulation header to be included by C++ programs
author
Luca Abeni
<lucabe72@email.it>
Sat, 19 Aug 2006 15:14:44 +0000
(15:14 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Sat, 19 Aug 2006 15:14:44 +0000
(15:14 +0000)
Originally committed as revision 6027 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/swscale.h
patch
|
blob
|
history
diff --git
a/libavcodec/swscale.h
b/libavcodec/swscale.h
index
5d13f90
..
d23d777
100644
(file)
--- a/
libavcodec/swscale.h
+++ b/
libavcodec/swscale.h
@@
-1,5
+1,10
@@
#ifndef SWSCALE_EMU_H
#define SWSCALE_EMU_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Dummy, only useful for compilation! */
#define SWS_FAST_BILINEAR 1
#define SWS_BILINEAR 2
@@
-29,4
+34,8
@@
int sws_scale(struct SwsContext *ctx, uint8_t* src[], int srcStride[],
void sws_freeContext(struct SwsContext *swsContext);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* SWSCALE_EMU_H */