summaryrefslogtreecommitdiff
path: root/libavcodec/motion-test.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-04-10 17:23:38 +0000
committerDiego Biurrun <diego@biurrun.de>2009-04-10 17:23:38 +0000
commit64bde1974be4ab53f5ec468ef8f8c4cf18c27c52 (patch)
tree865f1ec8ddd7b6ba0e0cc224ac4ef0390cd83c03 /libavcodec/motion-test.c
parentee30cdabadc055ae49d9b92e800839b5d8925598 (diff)
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 'libavcodec/motion-test.c')
-rw-r--r--libavcodec/motion-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c
index 86baa22842..5fa06ad41a 100644
--- a/libavcodec/motion-test.c
+++ b/libavcodec/motion-test.c
@@ -45,12 +45,12 @@ uint8_t img2[WIDTH * HEIGHT];
static void fill_random(uint8_t *tab, int size)
{
int i;
- AVLFG prn;
+ AVLFG prng;
- av_lfg_init(&prn, 1);
+ av_lfg_init(&prng, 1);
for(i=0;i<size;i++) {
#if 1
- tab[i] = av_lfg_get(&prn) % 256;
+ tab[i] = av_lfg_get(&prng) % 256;
#else
tab[i] = i;
#endif