Add picture bIsComplete flag to reflect the status of decoder
Modify the output error status and add some some judgement
Merge pull request #1414 from HaiboZhu/LTR_EC

Add picture bIsComplete flag to reflect the status of decoder