fix a LTR range problem when LTR num is larger than 2
remove unused lines
Merge pull request #1341 from sijchen/enable_ltr01

[Encoder] fix a LTR range problem when LTR num is larger than 2