Adrian, any reason you de-inlined doGetChar in the patches for openjpeg2? As far as i remember when i made this function inline it got us a not so bad free speed increase. Cheers, Albert