diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-07-25 12:26:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-07-25 12:26:24 +0000 |
commit | 4f10312c19d037226e967dc2c1e3eb0a922690ef (patch) | |
tree | e58e82c8b0118cd14845ab8872c28e65ebd4af92 /libavcodec/h264.c | |
parent | 3f1e1797473097c390c1f061315bd4783e2f4b24 (diff) | |
download | ffmpeg-4f10312c19d037226e967dc2c1e3eb0a922690ef.tar.gz |
indent
Originally committed as revision 14390 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index e4e1875bd4..7de129b5c5 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3567,20 +3567,20 @@ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ "in complementary field pair " "(first field is long term)\n"); } else { - pic= remove_short(h, s->current_picture_ptr->frame_num); - if(pic){ - unreference_pic(h, pic, 0); - av_log(h->s.avctx, AV_LOG_ERROR, "illegal short term buffer state detected\n"); - } + pic= remove_short(h, s->current_picture_ptr->frame_num); + if(pic){ + unreference_pic(h, pic, 0); + av_log(h->s.avctx, AV_LOG_ERROR, "illegal short term buffer state detected\n"); + } - if(h->short_ref_count) - memmove(&h->short_ref[1], &h->short_ref[0], h->short_ref_count*sizeof(Picture*)); + if(h->short_ref_count) + memmove(&h->short_ref[1], &h->short_ref[0], h->short_ref_count*sizeof(Picture*)); - h->short_ref[0]= s->current_picture_ptr; - h->short_ref[0]->long_ref=0; - h->short_ref_count++; - s->current_picture_ptr->reference |= s->picture_structure; - } + h->short_ref[0]= s->current_picture_ptr; + h->short_ref[0]->long_ref=0; + h->short_ref_count++; + s->current_picture_ptr->reference |= s->picture_structure; + } } if (h->long_ref_count + h->short_ref_count > h->sps.ref_frame_count){ |