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 /libavcodec/cabac.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 'libavcodec/cabac.c')
-rw-r--r-- | libavcodec/cabac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index c3b3429764..ffcd889c2e 100644 --- a/libavcodec/cabac.c +++ b/libavcodec/cabac.c @@ -191,14 +191,14 @@ 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_cabac_encoder(&c, b, SIZE); ff_init_cabac_states(&c); 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++){ |