mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
obs-qsv11: Initialize allocator response
We check that mids is a nullptr which may not be the case if this remains uninitialized. Earlier attempt to fix this assumed we faulted on the response itself. fixes #11221
This commit is contained in:
parent
53853df33a
commit
2ecf2c802c
@ -105,7 +105,7 @@ private:
|
||||
void *m_sessionData;
|
||||
mfxFrameAllocator m_mfxAllocator;
|
||||
mfxVideoParam m_mfxEncParams;
|
||||
mfxFrameAllocResponse m_mfxResponse;
|
||||
mfxFrameAllocResponse m_mfxResponse{};
|
||||
mfxFrameSurface1 **m_pmfxSurfaces;
|
||||
mfxU16 m_nSurfNum;
|
||||
MFXVideoENCODE *m_pmfxENC;
|
||||
|
Loading…
Reference in New Issue
Block a user