[vlc-commits] vout: decklink: fix build again

Francois Cartegnie git at videolan.org
Mon Feb 26 21:39:51 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 26 21:00:48 2018 +0100| [1d8e7633eda4bde9a05c3eaa8995d35e0bfbadca] | committer: Francois Cartegnie

vout: decklink: fix build again

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1d8e7633eda4bde9a05c3eaa8995d35e0bfbadca
---

 modules/video_output/decklink.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 47223f081f..b2369297a6 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -385,7 +385,7 @@ static BMDVideoConnection getVConn(vout_display_t *vd, BMDVideoConnection mask)
     }
     else /* Pick one as default connection */
     {
-        conn = ctz(mask);
+        conn = vlc_ctz(mask);
         conn = conn ? ( 1 << conn ) : bmdVideoConnectionSDI;
     }
     return conn;
@@ -865,7 +865,7 @@ static void send_AFD(uint8_t afdcode, uint8_t ar, uint8_t *buf)
 
     /* parity bit */
     for (size_t i = 3; i < len - 1; i++)
-        afd[i] |= parity((unsigned)afd[i]) ? 0x100 : 0x200;
+        afd[i] |= vlc_parity((unsigned)afd[i]) ? 0x100 : 0x200;
 
     /* vanc checksum */
     uint16_t vanc_sum = 0;



More information about the vlc-commits mailing list