mciavi32: Detect Indeo video frames as valid frames.

This commit is contained in:
Bruno Jesus 2015-09-17 15:59:49 +08:00 committed by Alexandre Julliard
parent ab4460a382
commit c5e281d0d2
1 changed files with 5 additions and 2 deletions

View File

@ -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: