From 7ee63f000b6b7af28953b69a2dc84dd616cfe145 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Mon, 28 Mar 2011 11:22:46 -0500 Subject: [PATCH] wineqtdecoder: fourCC value needs to be reversed as an OSType. --- dlls/wineqtdecoder/qtvdecoder.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/wineqtdecoder/qtvdecoder.c b/dlls/wineqtdecoder/qtvdecoder.c index b0cf12882ad..83d5156011e 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)