]> git.sesse.net Git - ffmpeg/commitdiff
avdevice/decklink_common.h: remove unsupported decklink version ifdef
authorMarton Balint <cus@passwd.hu>
Wed, 15 Jul 2020 18:06:22 +0000 (20:06 +0200)
committerMarton Balint <cus@passwd.hu>
Sun, 13 Sep 2020 15:59:30 +0000 (17:59 +0200)
Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/decklink_common.h

index bd68c7ba77ae12017f4fdb1e40c5dc76df0d9b27..9f69054e64628de1599cea67c4e1672a7cc58c46 100644 (file)
@@ -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;