blob: 0bdcd1db9c78140384f5b7213ddb7f61438e81f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "libplatform/impl.h"
#include <stdlib.h>
namespace mp4v2 { namespace platform { namespace number {
///////////////////////////////////////////////////////////////////////////////
uint32_t
random32()
{
return uint32_t( ::random() );
}
///////////////////////////////////////////////////////////////////////////////
void
srandom( uint32_t seed )
{
::srandom( seed );
}
///////////////////////////////////////////////////////////////////////////////
}}} // namespace mp4v2::platform::time
|