Module: wine Branch: master Commit: 7ee63f000b6b7af28953b69a2dc84dd616cfe145 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7ee63f000b6b7af28953b69a2d...
Author: Aric Stewart aric@codeweavers.com Date: Mon Mar 28 11:22:46 2011 -0500
wineqtdecoder: fourCC value needs to be reversed as an OSType.
---
dlls/wineqtdecoder/qtvdecoder.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/wineqtdecoder/qtvdecoder.c b/dlls/wineqtdecoder/qtvdecoder.c index b0cf128..83d5156 100644 --- a/dlls/wineqtdecoder/qtvdecoder.c +++ b/dlls/wineqtdecoder/qtvdecoder.c @@ -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)