Mercurial > libavcodec.hg
comparison ratecontrol.c @ 6525:52925923273f libavcodec
cosmetics: typo fixes
author | diego |
---|---|
date | Sat, 22 Mar 2008 16:46:36 +0000 |
parents | 493dc59d469a |
children | 737b74bec1e5 |
comparison
equal
deleted
inserted
replaced
6524:01647ac078a7 | 6525:52925923273f |
---|---|
119 rcc->pred[i].decay= 0.4; | 119 rcc->pred[i].decay= 0.4; |
120 rcc->i_cplx_sum [i]= | 120 rcc->i_cplx_sum [i]= |
121 rcc->p_cplx_sum [i]= | 121 rcc->p_cplx_sum [i]= |
122 rcc->mv_bits_sum[i]= | 122 rcc->mv_bits_sum[i]= |
123 rcc->qscale_sum [i]= | 123 rcc->qscale_sum [i]= |
124 rcc->frame_count[i]= 1; // 1 is better cuz of 1/0 and such | 124 rcc->frame_count[i]= 1; // 1 is better because of 1/0 and such |
125 rcc->last_qscale_for[i]=FF_QP2LAMBDA * 5; | 125 rcc->last_qscale_for[i]=FF_QP2LAMBDA * 5; |
126 } | 126 } |
127 rcc->buffer_index= s->avctx->rc_initial_buffer_occupancy; | 127 rcc->buffer_index= s->avctx->rc_initial_buffer_occupancy; |
128 | 128 |
129 if(s->flags&CODEC_FLAG_PASS2){ | 129 if(s->flags&CODEC_FLAG_PASS2){ |