summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_common.h
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2016-06-27 01:11:50 +0200
committerMarton Balint <cus@passwd.hu>2016-06-27 02:12:07 +0200
commitb18d6c58000beed872d6bb1fe7d0fbe75ae26aef (patch)
treec4293a47139920c4bdab71237ebfffb67e943b8e /libavdevice/decklink_common.h
parent729d82abae2f9bae3e5152022d2df0bb5bcde98e (diff)
downloadffmpeg-b18d6c58000beed872d6bb1fe7d0fbe75ae26aef.tar.gz
avdevice/decklink: fix mingw portability
Fixes ticket #5669. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_common.h')
-rw-r--r--libavdevice/decklink_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h
index a4ac3034c5..d2d0ab26b7 100644
--- a/libavdevice/decklink_common.h
+++ b/libavdevice/decklink_common.h
@@ -107,7 +107,7 @@ typedef uint32_t buffercount_type;
#endif
static const BMDAudioConnection decklink_audio_connection_map[] = {
- 0,
+ (BMDAudioConnection)0,
bmdAudioConnectionEmbedded,
bmdAudioConnectionAESEBU,
bmdAudioConnectionAnalog,
@@ -117,7 +117,7 @@ static const BMDAudioConnection decklink_audio_connection_map[] = {
};
static const BMDVideoConnection decklink_video_connection_map[] = {
- 0,
+ (BMDVideoConnection)0,
bmdVideoConnectionSDI,
bmdVideoConnectionHDMI,
bmdVideoConnectionOpticalSDI,