blob: f884e5dcd8b288047b2150248472e1e9d3e3fd00 [file] [log] [blame]
#include "libplatform/impl.h"
#include <stdlib.h>
namespace mp4v2 { namespace platform { namespace number {
///////////////////////////////////////////////////////////////////////////////
uint32_t
random32()
{
return uint32_t( ::rand() << 16 | ::rand() );
}
///////////////////////////////////////////////////////////////////////////////
void
srandom( uint32_t seed )
{
::srand( seed );
}
///////////////////////////////////////////////////////////////////////////////
}}} // namespace mp4v2::platform::time