[FFmpeg-devel] [PATCH 1/3] avdevice/decklink: Fix build error caused by a change in the SDK.
Chris Spencer
spencercw at gmail.com
Sat Jul 18 21:20:24 CEST 2015
GetBufferedAudioSampleFrameCount() used to take an unsigned long, but this changed at some point and the latest version of the DeckLink SDK (10.4.1) takes an unsigned int.
Signed-off-by: Chris Spencer <spencercw at gmail.com>
---
libavdevice/decklink_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h
index 96912a7..41fb5fb 100644
--- a/libavdevice/decklink_common.h
+++ b/libavdevice/decklink_common.h
@@ -82,7 +82,7 @@ struct decklink_ctx {
typedef enum { DIRECTION_IN, DIRECTION_OUT} decklink_direction_t;
#ifdef _WIN32
-typedef unsigned long buffercount_type;
+typedef unsigned int buffercount_type;
IDeckLinkIterator *CreateDeckLinkIteratorInstance(void);
#else
typedef uint32_t buffercount_type;
--
1.9.5.msysgit.1
More information about the ffmpeg-devel
mailing list