summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavdevice/decklink_common_c.h3
-rw-r--r--libavdevice/decklink_dec.h2
-rw-r--r--libavdevice/decklink_enc.h2
3 files changed, 7 insertions, 0 deletions
diff --git a/libavdevice/decklink_common_c.h b/libavdevice/decklink_common_c.h
index c2577210a6..75896ad32b 100644
--- a/libavdevice/decklink_common_c.h
+++ b/libavdevice/decklink_common_c.h
@@ -23,8 +23,11 @@
#ifndef AVDEVICE_DECKLINK_COMMON_C_H
#define AVDEVICE_DECKLINK_COMMON_C_H
+#include <stdint.h>
#include <DeckLinkAPIVersion.h>
+#include "libavutil/log.h"
+
typedef enum DecklinkPtsSource {
PTS_SRC_AUDIO = 1,
PTS_SRC_VIDEO = 2,
diff --git a/libavdevice/decklink_dec.h b/libavdevice/decklink_dec.h
index fbfbe6280e..19757be45c 100644
--- a/libavdevice/decklink_dec.h
+++ b/libavdevice/decklink_dec.h
@@ -26,6 +26,8 @@
extern "C" {
#endif
+#include "libavformat/avformat.h"
+
int ff_decklink_read_header(AVFormatContext *avctx);
int ff_decklink_read_packet(AVFormatContext *avctx, AVPacket *pkt);
int ff_decklink_read_close(AVFormatContext *avctx);
diff --git a/libavdevice/decklink_enc.h b/libavdevice/decklink_enc.h
index 39237673b4..5798f19dfd 100644
--- a/libavdevice/decklink_enc.h
+++ b/libavdevice/decklink_enc.h
@@ -26,6 +26,8 @@
extern "C" {
#endif
+#include "libavformat/avformat.h"
+
int ff_decklink_write_header(AVFormatContext *avctx);
int ff_decklink_write_packet(AVFormatContext *avctx, AVPacket *pkt);
int ff_decklink_write_trailer(AVFormatContext *avctx);