diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-04-10 17:23:38 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-04-10 17:23:38 +0000 |
commit | 64bde1974be4ab53f5ec468ef8f8c4cf18c27c52 (patch) | |
tree | 865f1ec8ddd7b6ba0e0cc224ac4ef0390cd83c03 /libavutil/tree.c | |
parent | ee30cdabadc055ae49d9b92e800839b5d8925598 (diff) | |
download | ffmpeg-64bde1974be4ab53f5ec468ef8f8c4cf18c27c52.tar.gz |
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/tree.c')
-rw-r--r-- | libavutil/tree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/tree.c b/libavutil/tree.c index e651e65f07..cce1d31090 100644 --- a/libavutil/tree.c +++ b/libavutil/tree.c @@ -182,12 +182,12 @@ int main(void){ int i; void *k; AVTreeNode *root= NULL, *node=NULL; - AVLFG prn; + AVLFG prng; - av_lfg_init(&prn, 1); + av_lfg_init(&prng, 1); for(i=0; i<10000; i++){ - int j = av_lfg_get(&prn) % 86294; + int j = av_lfg_get(&prng) % 86294; if(check(root) > 999){ av_log(NULL, AV_LOG_ERROR, "FATAL error %d\n", i); print(root, 0); @@ -198,7 +198,7 @@ int main(void){ node= av_mallocz(av_tree_node_size); av_tree_insert(&root, (void*)(j+1), cmp, &node); - j = av_lfg_get(&prn) % 86294; + j = av_lfg_get(&prng) % 86294; { AVTreeNode *node2=NULL; av_log(NULL, AV_LOG_ERROR, "removing %4d\n", j); |