diff options
Diffstat (limited to 'ptfformat.cc')
-rw-r--r-- | ptfformat.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ptfformat.cc b/ptfformat.cc index 04d6348..60c9d01 100644 --- a/ptfformat.cc +++ b/ptfformat.cc @@ -266,9 +266,9 @@ PTFFormat::parse(void) { break; } } - startbytes = (ptfunxored[j+3] & 0xf); + startbytes = 0; lengthbytes = (ptfunxored[j+2] & 0xf0) >> 4; - offsetbytes = (ptfunxored[j+2] & 0xf); + offsetbytes = (ptfunxored[j+3] & 0xf); if (type == 1) { uint32_t start = 0; |