Fixes a segfault: https://github.com/Intel-Media-SDK/MediaSDK/compare/intel-mediasdk-22.4.2...intel-mediasdk-22.4.3