[FFmpeg-devel] [PATCH 1/4] avdevice/decklink_commoh.h: remove unsupported decklink version ifdef
Marton Balint
cus at passwd.hu
Tue Sep 8 20:52:29 EEST 2020
Signed-off-by: Marton Balint <cus at passwd.hu>
---
libavdevice/decklink_common.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h
index bd68c7ba77..9f69054e64 100644
--- a/libavdevice/decklink_common.h
+++ b/libavdevice/decklink_common.h
@@ -156,11 +156,7 @@ struct decklink_ctx {
typedef enum { DIRECTION_IN, DIRECTION_OUT} decklink_direction_t;
#ifdef _WIN32
-#if BLACKMAGIC_DECKLINK_API_VERSION < 0x0a040000
-typedef unsigned long buffercount_type;
-#else
typedef unsigned int buffercount_type;
-#endif
IDeckLinkIterator *CreateDeckLinkIteratorInstance(void);
#else
typedef uint32_t buffercount_type;
--
2.26.2
More information about the ffmpeg-devel
mailing list