1
0
Fork 0

Silence a number of switch warnings in zmbv

This commit is contained in:
Patryk Obara 2019-11-23 23:49:34 +01:00 committed by Patryk Obara
parent 723dfdbe46
commit bdee95848e

View file

@ -350,6 +350,8 @@ int VideoCodec::FinishCompressFrame( void ) {
case ZMBV_FORMAT_32BPP:
AddXorFrame<long>();
break;
default:
break;
}
}
/* Create the actual frame with compression */
@ -471,6 +473,8 @@ bool VideoCodec::DecompressFrame(void * framedata, int size) {
case ZMBV_FORMAT_32BPP:
UnXorFrame<long>();
break;
default:
break;
}
}
return true;
@ -516,6 +520,8 @@ void VideoCodec::Output_UpsideDown_24(void *output) {
*w++ = r[j*4+2];
}
break;
default:
break;
}
// Maintain 32-bit alignment for scanlines.