mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 19:15:38 +00:00
mciavi32: Detect Indeo video frames as valid frames.
This commit is contained in:
parent
ab4460a382
commit
c5e281d0d2
|
@ -190,8 +190,11 @@ static BOOL MCIAVI_AddFrame(WINE_MCIAVI* wma, LPMMCKINFO mmck,
|
||||||
*/
|
*/
|
||||||
twocc = TWOCCFromFOURCC(mmck->ckid);
|
twocc = TWOCCFromFOURCC(mmck->ckid);
|
||||||
if (twocc == TWOCCFromFOURCC(wma->inbih->biCompression))
|
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) {
|
switch (twocc) {
|
||||||
case cktypeDIBbits:
|
case cktypeDIBbits:
|
||||||
case cktypeDIBcompressed:
|
case cktypeDIBcompressed:
|
||||||
|
|
Loading…
Reference in a new issue