changeset 9885:f86df3ebfef7 libavcodec

Improve wording: s/reseted/reset Patch by Haruhiko Yamagata, h D yamagata A nifty D com
author cehoyos
date Wed, 24 Jun 2009 12:10:20 +0000
parents c2da2b1e1a12
children 3207f2314192
files h264.c mpegvideo.h
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Wed Jun 24 04:38:48 2009 +0000
+++ b/h264.c	Wed Jun 24 12:10:20 2009 +0000
@@ -2240,7 +2240,7 @@
      * See decode_nal_units().
      */
     s->current_picture_ptr->key_frame= 0;
-    s->current_picture_ptr->mmco_reseted= 0;
+    s->current_picture_ptr->mmco_reset= 0;
 
     assert(s->linesize && s->uvlinesize);
 
@@ -3370,7 +3370,7 @@
             h->poc_msb=
             h->frame_num=
             s->current_picture_ptr->frame_num= 0;
-            s->current_picture_ptr->mmco_reseted=1;
+            s->current_picture_ptr->mmco_reset=1;
             break;
         default: assert(0);
         }
@@ -7710,7 +7710,7 @@
 //FIXME factorize this with the output code below
         out = h->delayed_pic[0];
         out_idx = 0;
-        for(i=1; h->delayed_pic[i] && !h->delayed_pic[i]->key_frame && !h->delayed_pic[i]->mmco_reseted; i++)
+        for(i=1; h->delayed_pic[i] && !h->delayed_pic[i]->key_frame && !h->delayed_pic[i]->mmco_reset; i++)
             if(h->delayed_pic[i]->poc < out->poc){
                 out = h->delayed_pic[i];
                 out_idx = i;
@@ -7886,12 +7886,12 @@
 
             out = h->delayed_pic[0];
             out_idx = 0;
-            for(i=1; h->delayed_pic[i] && !h->delayed_pic[i]->key_frame && !h->delayed_pic[i]->mmco_reseted; i++)
+            for(i=1; h->delayed_pic[i] && !h->delayed_pic[i]->key_frame && !h->delayed_pic[i]->mmco_reset; i++)
                 if(h->delayed_pic[i]->poc < out->poc){
                     out = h->delayed_pic[i];
                     out_idx = i;
                 }
-            cross_idr = !!h->delayed_pic[i] || h->delayed_pic[0]->key_frame || h->delayed_pic[0]->mmco_reseted;
+            cross_idr = !!h->delayed_pic[i] || h->delayed_pic[0]->key_frame || h->delayed_pic[0]->mmco_reset;
 
             out_of_order = !cross_idr && out->poc < h->outputed_poc;
 
--- a/mpegvideo.h	Wed Jun 24 04:38:48 2009 +0000
+++ b/mpegvideo.h	Wed Jun 24 12:10:20 2009 +0000
@@ -116,7 +116,7 @@
     int field_poc[2];           ///< h264 top/bottom POC
     int poc;                    ///< h264 frame POC
     int frame_num;              ///< h264 frame_num (raw frame_num from slice header)
-    int mmco_reseted;           ///< h264 MMCO_RESET set this 1. Reordering code must not mix pictures before and after MMCO_RESET.
+    int mmco_reset;             ///< h264 MMCO_RESET set this 1. Reordering code must not mix pictures before and after MMCO_RESET.
     int pic_id;                 /**< h264 pic_num (short -> no wrap version of pic_num,
                                      pic_num & max_pic_num; long -> long_pic_num) */
     int long_ref;               ///< 1->long term reference 0->short term reference