1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

ir50_32: Use the proper hr value for stream format change.

This commit is contained in:
Rémi Bernon 2023-11-17 00:08:42 +01:00 committed by Alexandre Julliard
parent 9a591bf4fe
commit e1b21bf1e9

View File

@ -252,7 +252,7 @@ static LRESULT IV50_Decompress( IMFTransform *decoder, ICDECOMPRESS *icd, DWORD
mft_buf.pSample = out_sample;
hr = IMFTransform_ProcessOutput( decoder, 0, 1, &mft_buf, &mft_status );
if ( SUCCEEDED(hr) && (mft_status & MFT_OUTPUT_DATA_BUFFER_FORMAT_CHANGE) )
if ( hr == MF_E_TRANSFORM_STREAM_CHANGE )
hr = IMFTransform_ProcessOutput( decoder, 0, 1, &mft_buf, &mft_status );
if ( SUCCEEDED(hr) )