]> git.sesse.net Git - ffmpeg/commit
avdevice/decklink_dec: fix build with older SDK
authorMarton Balint <cus@passwd.hu>
Mon, 14 Sep 2020 19:22:29 +0000 (21:22 +0200)
committerMarton Balint <cus@passwd.hu>
Tue, 15 Sep 2020 20:07:26 +0000 (22:07 +0200)
commit36c582f515a7da4c5dda4890fcf588164f91255f
tree9ff824fb09f13ad488ba15d3c1a9fbe7be534506
parent1e40dc920a838e35f1483b20bfcd417437e68741
avdevice/decklink_dec: fix build with older SDK

Apparently bmdFormatUnspecified needs SDK 11.0. It is just a fancy way of
checking for zero, so let's do that instead.

Fixes build issue since f1b908d20a8.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/decklink_dec.cpp