# HG changeset patch # User diego # Date 1206204396 0 # Node ID 52925923273fe39fad3828e94f99940186da3a5d # Parent 01647ac078a70edfb4fe9abb468b556b50c8b621 cosmetics: typo fixes diff -r 01647ac078a7 -r 52925923273f 4xm.c --- a/4xm.c Sat Mar 22 01:06:57 2008 +0000 +++ b/4xm.c Sat Mar 22 16:46:36 2008 +0000 @@ -405,7 +405,7 @@ /** * decode block and dequantize. - * Note this is allmost identical to mjpeg + * Note this is almost identical to MJPEG. */ static int decode_i_block(FourXContext *f, DCTELEM *block){ int code, i, j, level, val; diff -r 01647ac078a7 -r 52925923273f error_resilience.c --- a/error_resilience.c Sat Mar 22 01:06:57 2008 +0000 +++ b/error_resilience.c Sat Mar 22 16:46:36 2008 +0000 @@ -561,7 +561,7 @@ undamaged_count++; } - if(undamaged_count < 5) return 0; //allmost all MBs damaged -> use temporal prediction + if(undamaged_count < 5) return 0; //almost all MBs damaged -> use temporal prediction #ifdef HAVE_XVMC //prevent dsp.sad() check, that requires access to the image diff -r 01647ac078a7 -r 52925923273f i386/mpegvideo_mmx_template.c --- a/i386/mpegvideo_mmx_template.c Sat Mar 22 01:06:57 2008 +0000 +++ b/i386/mpegvideo_mmx_template.c Sat Mar 22 16:46:36 2008 +0000 @@ -96,7 +96,7 @@ int qscale, int *overflow) { long last_non_zero_p1; - int level=0, q; //=0 is cuz gcc says uninitialized ... + int level=0, q; //=0 is because gcc says uninitialized ... const uint16_t *qmat, *bias; DECLARE_ALIGNED_16(int16_t, temp_block[64]); diff -r 01647ac078a7 -r 52925923273f ratecontrol.c --- a/ratecontrol.c Sat Mar 22 01:06:57 2008 +0000 +++ b/ratecontrol.c Sat Mar 22 16:46:36 2008 +0000 @@ -121,7 +121,7 @@ rcc->p_cplx_sum [i]= rcc->mv_bits_sum[i]= rcc->qscale_sum [i]= - rcc->frame_count[i]= 1; // 1 is better cuz of 1/0 and such + rcc->frame_count[i]= 1; // 1 is better because of 1/0 and such rcc->last_qscale_for[i]=FF_QP2LAMBDA * 5; } rcc->buffer_index= s->avctx->rc_initial_buffer_occupancy;