private boolean hasPrefix(byte[] nal) {
		return nal[0] == 0 && nal[1] == 0 && nal[2] == 0 && nal[3] == 0x01;
	}
Makes sure the NAL has a header or not.
@param withPrefix If set to true, the NAL will be preceded with 0x00000001.
src/net/majorkernelpanic/streaming/hw/EncoderDebugger.java