diff mbox series

[FFmpeg-devel,02/19] avdevice/decklink_(common_c|dec|enc).h: Fix checkheaders

Message ID AM7PR03MB666013835351686815B748738F349@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 760b4709ab241d71a53ff42a01d12c33f6507d05
Headers show
Series [FFmpeg-devel] avutil/x86/emms: Don't unnecessarily include lavu/cpu.h | expand

Checks

Context Check Description
yinshiyou/commit_msg_loongarch64 warning The first line of the commit message must start with a context terminated by a colon and a space, for example "lavu/opt: " or "doc: ".
yinshiyou/make_fate_loongarch64 success Make fate finished
yinshiyou/make_loongarch64 warning New warnings during build
andriy/commit_msg_x86 warning The first line of the commit message must start with a context terminated by a colon and a space, for example "lavu/opt: " or "doc: ".
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/commit_msg_ppc warning The first line of the commit message must start with a context terminated by a colon and a space, for example "lavu/opt: " or "doc: ".
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Feb. 15, 2022, 5:42 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavdevice/decklink_common_c.h | 3 +++
 libavdevice/decklink_dec.h      | 2 ++
 libavdevice/decklink_enc.h      | 2 ++
 3 files changed, 7 insertions(+)
diff mbox series

Patch

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);