diff options
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/4xm.c | 2 | ||||
-rw-r--r-- | libavcodec/error_resilience.c | 2 | ||||
-rw-r--r-- | libavcodec/i386/mpegvideo_mmx_template.c | 2 | ||||
-rw-r--r-- | libavcodec/ratecontrol.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 71954d8c18..d32ee1c825 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -405,7 +405,7 @@ static int decode_p_frame(FourXContext *f, const uint8_t *buf, int length){ /** * 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 --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c index e51390536a..59254a4146 100644 --- a/libavcodec/error_resilience.c +++ b/libavcodec/error_resilience.c @@ -561,7 +561,7 @@ static int is_intra_more_likely(MpegEncContext *s){ 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 --git a/libavcodec/i386/mpegvideo_mmx_template.c b/libavcodec/i386/mpegvideo_mmx_template.c index 9c9c763b21..7d8d278c9f 100644 --- a/libavcodec/i386/mpegvideo_mmx_template.c +++ b/libavcodec/i386/mpegvideo_mmx_template.c @@ -96,7 +96,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s, 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 --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 509d33e2c2..d182c4a884 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -121,7 +121,7 @@ int ff_rate_control_init(MpegEncContext *s) 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; |