"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tivo_utils.c" between
minidlna-1.1.4.tar.gz and minidlna-1.1.5.tar.gz

About: ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.

tivo_utils.c  (minidlna-1.1.4):tivo_utils.c  (minidlna-1.1.5)
skipping to change at line 126 skipping to change at line 126
sqlite3Prng.i++; sqlite3Prng.i++;
t = sqlite3Prng.s[sqlite3Prng.i]; t = sqlite3Prng.s[sqlite3Prng.i];
sqlite3Prng.j += t; sqlite3Prng.j += t;
sqlite3Prng.s[sqlite3Prng.i] = sqlite3Prng.s[sqlite3Prng.j]; sqlite3Prng.s[sqlite3Prng.i] = sqlite3Prng.s[sqlite3Prng.j];
sqlite3Prng.s[sqlite3Prng.j] = t; sqlite3Prng.s[sqlite3Prng.j] = t;
t += sqlite3Prng.s[sqlite3Prng.i]; t += sqlite3Prng.s[sqlite3Prng.i];
return sqlite3Prng.s[t]; return sqlite3Prng.s[t];
} }
void static void
seedRandomness(int n, void *pbuf, uint32_t seed) seedRandomness(int n, void *pbuf, uint32_t seed)
{ {
unsigned char *zbuf = pbuf; unsigned char *zbuf = pbuf;
while( n-- ) while( n-- )
*(zbuf++) = seedRandomByte(seed); *(zbuf++) = seedRandomByte(seed);
} }
void void
TiVoRandomSeedFunc(sqlite3_context *context, int argc, sqlite3_value **argv) TiVoRandomSeedFunc(sqlite3_context *context, int argc, sqlite3_value **argv)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS