summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2009-10-26 23:30:41 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:36 +0100
commitee15aef4bca80195f00e5b9f96c4b59c6d2bb0cf (patch)
tree9e35fc6f33217b7e27a7c8630ee84dc0af9ea6e0
parent5d6ebd5f1fefe4d0f0532e370ac1c95fb8510aee (diff)
fix build on Debian
-rw-r--r--common/linux/ffmpeg_inc.h.in12
-rw-r--r--common/win/ffmpeg_inc.h4
2 files changed, 16 insertions, 0 deletions
diff --git a/common/linux/ffmpeg_inc.h.in b/common/linux/ffmpeg_inc.h.in
new file mode 100644
index 0000000..7e322b5
--- /dev/null
+++ b/common/linux/ffmpeg_inc.h.in
@@ -0,0 +1,12 @@
+
+#ifdef __GNUG__
+extern "C" {
+#endif
+
+#include "@AVCODEC_PREFIX@avcodec.h"
+
+#ifdef __GNUG__
+}
+#endif
+
+
diff --git a/common/win/ffmpeg_inc.h b/common/win/ffmpeg_inc.h
new file mode 100644
index 0000000..8d4473f
--- /dev/null
+++ b/common/win/ffmpeg_inc.h
@@ -0,0 +1,4 @@
+
+extern "C" {
+#include "libavcodec/avcodec.h"
+}