when the encoder returns 0, it means no more data will come and we should not try again
拖放文件到此处或者 点击上传