/[public]/psiconv/trunk/lib/psiconv/parse_simple.c
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/parse_simple.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2 Revision 54
102 } else if ((temp & 0x03) == 0x01) { 102 } else if ((temp & 0x03) == 0x01) {
103 res = psiconv_read_u16(buf,lev+2,off) >> 2; 103 res = psiconv_read_u16(buf,lev+2,off) >> 2;
104 len = 2; 104 len = 2;
105 psiconv_debug(lev+2,off,"Indicator (2 bytes): %04x",res); 105 psiconv_debug(lev+2,off,"Indicator (2 bytes): %04x",res);
106 } else if ((temp & 0x07) == 0x03) { 106 } else if ((temp & 0x07) == 0x03) {
107 res = psiconv_read_u16(buf,lev+2,off) >> 3; 107 res = psiconv_read_u32(buf,lev+2,off) >> 3;
108 len = 4; 108 len = 4;
109 psiconv_debug(lev+2,off,"Indicator (4 bytes): %08x",res); 109 psiconv_debug(lev+2,off,"Indicator (4 bytes): %08x",res);
110 } else { 110 } else {
111 psiconv_warn(lev+2,off,"X indicator: unknown encoding!"); 111 psiconv_warn(lev+2,off,"X indicator: unknown encoding!");
112 psiconv_debug(lev+2,off,"Raw data first byte: %02x",temp); 112 psiconv_debug(lev+2,off,"Raw data first byte: %02x",temp);

Legend:
Removed from v.2  
changed lines
  Added in v.54

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26