Remove the SPS/PPS exist ahead reset logic and change the CheckSpsActive logic
Merge pull request #1559 from HaiboZhu/EC_off_crash_no_output

Debug for (1) decoder crash when delay decoding (2) no output when EC off