TEncCU: fix bug in no-intra, intra-analysis should still happen for P-frames
Merge with stable
fix crash in hrd when init function is called with null pointer