fix crash with videos on ppc (#2523,3802). Patch by Przemysław Iskra

This commit is contained in:
Ludwig Nussel 2008-10-24 07:02:35 +00:00
parent 130c0c6575
commit 7d9ba904ec

View file

@ -1193,8 +1193,8 @@ redump:
cinTable[currentHandle].roq_id = framedata[0] + framedata[1]*256;
cinTable[currentHandle].RoQFrameSize = framedata[2] + framedata[3]*256 + framedata[4]*65536;
cinTable[currentHandle].roq_flags = framedata[6] + framedata[7]*256;
cinTable[currentHandle].roqF0 = (char)framedata[7];
cinTable[currentHandle].roqF1 = (char)framedata[6];
cinTable[currentHandle].roqF0 = (signed char)framedata[7];
cinTable[currentHandle].roqF1 = (signed char)framedata[6];
if (cinTable[currentHandle].RoQFrameSize>65536||cinTable[currentHandle].roq_id==0x1084) {
Com_DPrintf("roq_size>65536||roq_id==0x1084\n");