Merge "CCodec: fix MAX_PTS_GAP behavior"