Handle av_base64_decode return value