aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rangecoder.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/rangecoder.c
parentee30cdabadc055ae49d9b92e800839b5d8925598 (diff)
downloadffmpeg-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 'libavcodec/rangecoder.c')
-rw-r--r--libavcodec/rangecoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c
index c9848e8875..d750e65453 100644
--- a/libavcodec/rangecoder.c
+++ b/libavcodec/rangecoder.c
@@ -120,9 +120,9 @@ int main(void){
uint8_t r[9*SIZE];
int i;
uint8_t state[10]= {0};
- AVLFG prn;
+ AVLFG prng;
- av_lfg_init(&prn, 1);
+ av_lfg_init(&prng, 1);
ff_init_range_encoder(&c, b, SIZE);
ff_build_rac_states(&c, 0.05*(1LL<<32), 128+64+32+16);
@@ -130,7 +130,7 @@ int main(void){
memset(state, 128, sizeof(state));
for(i=0; i<SIZE; i++){
- r[i] = av_lfg_get(&prn) % 7;
+ r[i] = av_lfg_get(&prng) % 7;
}
for(i=0; i<SIZE; i++){