fix in declaration type of Reader.getFrameID. void to int