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 <spence...@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 ..."

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to