enable cross IDR EC method
Merge pull request #1503 from huili2/ec_crossIDR

enable cross IDR EC method