Important bugfix

This fixes a bug that broke the entropy-coded-data segment reading a few
commits ago.