Changeset 1171

Show
Ignore:
Timestamp:
10/23/09 17:13:18 (10 months ago)
Author:
astrange
Message:

Byteswap the palette output from ReadPacketControls?.

Fixes #420

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/VobSubCodec.c

    r1168 r1171  
    384384                if (usePalette) { 
    385385                        for (j = 0; j < 4; j++) 
    386                                 palette[j] = controlData.pixelColor[j]; 
     386                                palette[j] = EndianU32_BtoN(controlData.pixelColor[j]); 
    387387                } 
    388388