]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/decklink_common.h
avcodec/alsdec: Fix integer overflow with buffer number
[ffmpeg] / libavdevice / decklink_common.h
index d2fc3f79d58fbe5ade43cd0c88eac23190b73362..921818ba416aa63b588a75d98439f2a2df898736 100644 (file)
 #define AVDEVICE_DECKLINK_COMMON_H
 
 #include <DeckLinkAPIVersion.h>
+#if BLACKMAGIC_DECKLINK_API_VERSION < 0x0b000000
+#define IID_IDeckLinkProfileAttributes IID_IDeckLinkAttributes
+#define IDeckLinkProfileAttributes IDeckLinkAttributes
+#endif
 
 #include "libavutil/thread.h"
 #include "decklink_common_c.h"
@@ -87,7 +91,7 @@ struct decklink_ctx {
     IDeckLinkOutput *dlo;
     IDeckLinkInput *dli;
     IDeckLinkConfiguration *cfg;
-    IDeckLinkAttributes *attr;
+    IDeckLinkProfileAttributes *attr;
     decklink_output_callback *output_callback;
 
     /* DeckLink mode information */