[FFmpeg-devel] [PATCH 1/3] avdevice/decklink: Fix build error caused by a change in the SDK.
Michael Niedermayer
michael at niedermayer.cc
Sun Jul 19 20:31:58 CEST 2015
On Sat, Jul 18, 2015 at 08:20:24PM +0100, Chris Spencer wrote:
> 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);
does this not need some version check so its correct for older SDK too
?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 1
"Used only once" - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150719/7968aff6/attachment.sig>
More information about the ffmpeg-devel
mailing list