[FFmpeg-cvslog] avdevice/decklink_common.h: remove unsupported decklink version ifdef

Marton Balint git at videolan.org
Sun Sep 13 19:50:51 EEST 2020


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Wed Jul 15 20:06:22 2020 +0200| [a9ede0bde4c973296a2e82f11d1458ad3930d4c7] | committer: Marton Balint

avdevice/decklink_common.h: remove unsupported decklink version ifdef

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a9ede0bde4c973296a2e82f11d1458ad3930d4c7
---

 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;



More information about the ffmpeg-cvslog mailing list