summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-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 00000000..7e322b51
--- /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 00000000..8d4473ff
--- /dev/null
+++ b/common/win/ffmpeg_inc.h
@@ -0,0 +1,4 @@
+
+extern "C" {
+#include "libavcodec/avcodec.h"
+}