wineqtdecoder: fourCC value needs to be reversed as an OSType.

This commit is contained in:
Aric Stewart 2011-03-28 11:22:46 -05:00 committed by Alexandre Julliard
parent d19f840361
commit 7ee63f000b
1 changed files with 4 additions and 4 deletions

View File

@ -413,10 +413,10 @@ static HRESULT WINAPI QTVDecoder_SetMediaType(TransformFilter *tf, PIN_DIRECTION
goto failed;
TRACE("Fourcc: %s\n", debugstr_an((const char *)&pmt->subtype.Data1, 4));
fourCC = ((const char *)&pmt->subtype.Data1)[0] |
(((const char *)&pmt->subtype.Data1)[1]<<8) |
(((const char *)&pmt->subtype.Data1)[2]<<16) |
(((const char *)&pmt->subtype.Data1)[3]<<24);
fourCC = ((const char *)&pmt->subtype.Data1)[3] |
(((const char *)&pmt->subtype.Data1)[2]<<8) |
(((const char *)&pmt->subtype.Data1)[1]<<16) |
(((const char *)&pmt->subtype.Data1)[0]<<24);
err = FindCodec(fourCC,NULL,NULL,&dc);
if (err != noErr || dc == 0x0)