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:
parent
9a591bf4fe
commit
e1b21bf1e9
|
@ -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) )
|
||||
|
|
Loading…
Reference in New Issue
Block a user