fix RLE bug; when all AC are zero will lost to encode EOF(1010)