decklink: Don't crash when getting hw serial number doesn't return OK
authorVivia Nikolaidou <vivia@ahiru.eu>
Wed, 8 Nov 2017 22:16:21 +0000 (00:16 +0200)
committerVivia Nikolaidou <vivia@ahiru.eu>
Wed, 8 Nov 2017 22:19:42 +0000 (00:19 +0200)
commitbae9427dc1abd29f03a524e4f30667876682600e
treee22935841f8a573a7c917001faa0dfd1db3f99eb
parentf78be9d6988b1c3d1482a981c94a545e79645e43
decklink: Don't crash when getting hw serial number doesn't return OK

If the return value isn't OK, it means we might be getting data that
points to an invalid memory address. That shouldn't make us crash.
sys/decklink/gstdecklink.cpp