avdevice/decklink_common.h: remove unsupported decklink version ifdef

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint 2020-07-15 20:06:22 +02:00
parent 9b434bea75
commit a9ede0bde4
1 changed files with 0 additions and 4 deletions

View File

@ -156,11 +156,7 @@ struct decklink_ctx {
typedef enum { DIRECTION_IN, DIRECTION_OUT} decklink_direction_t; typedef enum { DIRECTION_IN, DIRECTION_OUT} decklink_direction_t;
#ifdef _WIN32 #ifdef _WIN32
#if BLACKMAGIC_DECKLINK_API_VERSION < 0x0a040000
typedef unsigned long buffercount_type;
#else
typedef unsigned int buffercount_type; typedef unsigned int buffercount_type;
#endif
IDeckLinkIterator *CreateDeckLinkIteratorInstance(void); IDeckLinkIterator *CreateDeckLinkIteratorInstance(void);
#else #else
typedef uint32_t buffercount_type; typedef uint32_t buffercount_type;