[FFmpeg-cvslog] r14372 - in trunk: libavcodec/h263dec.c libavcodec/motion_est_template.c libavcodec/mpegvideo.c libavcodec/resample2.c libavdevice/libdc1394.c libavformat/dvenc.c libavutil/softfloat.h

diego subversion
Thu Jul 24 19:09:29 CEST 2008


Author: diego
Date: Thu Jul 24 19:09:28 2008
New Revision: 14372

Log:
cosmetics: Fix two common typos: wont --> will not, lets --> let us.


Modified:
   trunk/libavcodec/h263dec.c
   trunk/libavcodec/motion_est_template.c
   trunk/libavcodec/mpegvideo.c
   trunk/libavcodec/resample2.c
   trunk/libavdevice/libdc1394.c
   trunk/libavformat/dvenc.c
   trunk/libavutil/softfloat.h

Modified: trunk/libavcodec/h263dec.c
==============================================================================
--- trunk/libavcodec/h263dec.c	(original)
+++ trunk/libavcodec/h263dec.c	Thu Jul 24 19:09:28 2008
@@ -508,7 +508,7 @@ retry:
             s->padding_bug_score= 256*256*256*64;
 
         /* very ugly XVID padding bug detection FIXME/XXX solve this differently
-         * lets hope this at least works
+         * Let us hope this at least works.
          */
         if(   s->resync_marker==0 && s->data_partitioning==0 && s->divx_version==0
            && s->codec_id==CODEC_ID_MPEG4 && s->vo_type==0)

Modified: trunk/libavcodec/motion_est_template.c
==============================================================================
--- trunk/libavcodec/motion_est_template.c	(original)
+++ trunk/libavcodec/motion_est_template.c	Thu Jul 24 19:09:28 2008
@@ -24,7 +24,7 @@
  * Motion estimation template.
  */
 
-//lets hope gcc will remove the unused vars ...(gcc 3.2.2 seems to do it ...)
+//Let us hope gcc will remove the unused vars ...(gcc 3.2.2 seems to do it ...)
 #define LOAD_COMMON\
     uint32_t av_unused * const score_map= c->score_map;\
     const int av_unused xmin= c->xmin;\

Modified: trunk/libavcodec/mpegvideo.c
==============================================================================
--- trunk/libavcodec/mpegvideo.c	(original)
+++ trunk/libavcodec/mpegvideo.c	Thu Jul 24 19:09:28 2008
@@ -1396,7 +1396,7 @@ static av_always_inline void mpeg_motion
     linesize   = s->current_picture.linesize[0] << field_based;
     uvlinesize = s->current_picture.linesize[1] << field_based;
 
-    if(s->quarter_sample){ //FIXME obviously not perfect but qpel wont work in lowres anyway
+    if(s->quarter_sample){ //FIXME obviously not perfect but qpel will not work in lowres anyway
         motion_x/=2;
         motion_y/=2;
     }

Modified: trunk/libavcodec/resample2.c
==============================================================================
--- trunk/libavcodec/resample2.c	(original)
+++ trunk/libavcodec/resample2.c	Thu Jul 24 19:09:28 2008
@@ -230,7 +230,7 @@ void av_resample_compensate(AVResampleCo
  * @param consumed the number of samples of src which have been consumed are returned here
  * @param src_size the number of unconsumed samples available
  * @param dst_size the amount of space in samples available in dst
- * @param update_ctx if this is 0 then the context wont be modified, that way several channels can be resampled with the same context
+ * @param update_ctx If this is 0 then the context will not be modified, that way several channels can be resampled with the same context.
  * @return the number of samples written in dst or -1 if an error occurred
  */
 int av_resample(AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx){

Modified: trunk/libavdevice/libdc1394.c
==============================================================================
--- trunk/libavdevice/libdc1394.c	(original)
+++ trunk/libavdevice/libdc1394.c	Thu Jul 24 19:09:28 2008
@@ -155,7 +155,7 @@ static int dc1394_v1_read_header(AVForma
     if (dc1394_read_common(c,ap,&fmt,&fps) != 0)
         return -1;
 
-    /* Now lets prep the hardware */
+    /* Now let us prep the hardware. */
     dc1394->handle = dc1394_create_handle(0); /* FIXME: gotta have ap->port */
     if (!dc1394->handle) {
         av_log(c, AV_LOG_ERROR, "Can't acquire dc1394 handle on port %d\n", 0 /* ap->port */);
@@ -248,7 +248,7 @@ static int dc1394_v2_read_header(AVForma
     if (dc1394_read_common(c,ap,&fmt,&fps) != 0)
        return -1;
 
-    /* Now lets prep the hardware */
+    /* Now let us prep the hardware. */
     dc1394->d = dc1394_new();
     dc1394_camera_enumerate (dc1394->d, &list);
     if ( !list || list->num == 0) {

Modified: trunk/libavformat/dvenc.c
==============================================================================
--- trunk/libavformat/dvenc.c	(original)
+++ trunk/libavformat/dvenc.c	Thu Jul 24 19:09:28 2008
@@ -255,7 +255,7 @@ int dv_assemble_frame(DVMuxContext *c, A
             av_log(st->codec, AV_LOG_ERROR, "Can't process DV frame #%d. Insufficient video data or severe sync problem.\n", c->frames);
         av_fifo_generic_write(&c->audio_data[i], data, data_size, NULL);
 
-        /* Lets see if we've got enough audio for one DV frame */
+        /* Let us see if we've got enough audio for one DV frame. */
         c->has_audio |= ((reqasize <= av_fifo_size(&c->audio_data[i])) << i);
 
         break;
@@ -263,7 +263,7 @@ int dv_assemble_frame(DVMuxContext *c, A
         break;
     }
 
-    /* Lets see if we have enough data to construct one DV frame */
+    /* Let us see if we have enough data to construct one DV frame. */
     if (c->has_video == 1 && c->has_audio + 1 == 1<<c->n_ast) {
         dv_inject_metadata(c, *frame);
         c->has_audio = 0;

Modified: trunk/libavutil/softfloat.h
==============================================================================
--- trunk/libavutil/softfloat.h	(original)
+++ trunk/libavutil/softfloat.h	Thu Jul 24 19:09:28 2008
@@ -74,7 +74,7 @@ static inline av_const SoftFloat av_norm
 /**
  *
  * @return will not be more denormalized then a+b, so if either input is
- *         normalized then the output wont be worse then the other input
+ *         normalized then the output will not be worse then the other input
  *         if both are normalized then the output will be normalized
  */
 static inline av_const SoftFloat av_mul_sf(SoftFloat a, SoftFloat b){




More information about the ffmpeg-cvslog mailing list