Module: wine Branch: master Commit: c5e281d0d26b6095968e6c17b20f7369e22df6b0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c5e281d0d26b6095968e6c17b2...
Author: Bruno Jesus 00cpxxx@gmail.com Date: Thu Sep 17 15:59:49 2015 +0800
mciavi32: Detect Indeo video frames as valid frames.
---
dlls/mciavi32/mmoutput.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/mciavi32/mmoutput.c b/dlls/mciavi32/mmoutput.c index 3f3bc53..d3badb6 100644 --- a/dlls/mciavi32/mmoutput.c +++ b/dlls/mciavi32/mmoutput.c @@ -190,8 +190,11 @@ static BOOL MCIAVI_AddFrame(WINE_MCIAVI* wma, LPMMCKINFO mmck, */ twocc = TWOCCFromFOURCC(mmck->ckid); if (twocc == TWOCCFromFOURCC(wma->inbih->biCompression)) - twocc = cktypeDIBcompressed; - + twocc = cktypeDIBcompressed; + /* Also detect some chunks that seem to be used by Indeo videos where the chunk is named + * after the codec. */ + else if (twocc == LOWORD(wma->ash_video.fccHandler)) + twocc = cktypeDIBcompressed; switch (twocc) { case cktypeDIBbits: case cktypeDIBcompressed: