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
update spatial picture when abnormal exit
disable EC SetOption
Merge pull request #1342 from ruil2/update_pic

update spatial picture when abnormal exit
Merge pull request #1343 from huili2/ec_disable_set

disable EC SetOption
Merge remote-tracking branch 'upstream/master' into travis.osx