aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorHaruhiko Yamagata <h.yamagata@nifty.com>2009-06-24 12:10:20 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-06-24 12:10:20 +0000
commitc173a0881fd669930b1dbf18f9f8436764662eb4 (patch)
tree97e8ee026dfee85dca027bafdeaeb206bbcddbcf /libavcodec/h264.c
parente1c1b0ff09ddf4cf8a915441883cbc33cd0c61fe (diff)
downloadffmpeg-c173a0881fd669930b1dbf18f9f8436764662eb4.tar.gz
Improve wording: s/reseted/reset
Patch by Haruhiko Yamagata, h D yamagata A nifty D com Originally committed as revision 19266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 368ccbfb10..40ba4eb955 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2240,7 +2240,7 @@ static int frame_start(H264Context *h){
* 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 @@ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){
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 @@ static int decode_frame(AVCodecContext *avctx,
//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 @@ static int decode_frame(AVCodecContext *avctx,
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;