Fixed int size bug that caused decoder to freeze