changeset 6525:52925923273f libavcodec

cosmetics: typo fixes
author diego
date Sat, 22 Mar 2008 16:46:36 +0000
parents 01647ac078a7
children 737b74bec1e5
files 4xm.c error_resilience.c i386/mpegvideo_mmx_template.c ratecontrol.c
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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
--- 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]);
 
--- 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;