One or more synchronization bits are usually added to the beginning of each frame. These bits, called framing bits, follow a pattern, frame to frame, that allows the demux to synchronize with the incoming stream.
Usually, 1 sync bit per frame, alternating between 0 and 1.
-