mediafoundation: Use C++ brace initialization instead of C-style

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35900>
This commit is contained in:
Jesse Natalie
2025-07-02 14:46:42 -07:00
committed by Marge Bot
parent eca4743535
commit 09096189c0
@@ -1030,7 +1030,7 @@ CDX12EncHMFT::xThreadProc( void *pCtx )
std::lock_guard<std::mutex> lock( pThis->m_lock );
while( !bHasEncodingError && pThis->m_EncodingQueue.try_pop( pDX12EncodeContext ) )
{
pipe_enc_feedback_metadata metadata = { 0 };
pipe_enc_feedback_metadata metadata = { };
unsigned int encoded_bitstream_bytes = 0u;
ComPtr<IMFSample> spOutputSample;
MFCreateSample( &spOutputSample );