avcodec/jpeg2000dec: Check Psot