add EC frame/slice copy.
Merge pull request #709 from huili2/ec_mb_check

add EC frame/slice copy.