diff options
author | Jeff Downs <heydowns@borg.com> | 2007-10-07 23:46:51 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2007-10-07 23:46:51 +0000 |
commit | 5a421d538e4ccddf107c8928b690f2d6003293bd (patch) | |
tree | b1bd07e4d66b0b6ea839596e9a50923d35f49b83 /libavcodec/h264.c | |
parent | 0ae969faede46e18b4f09ef1ac62ef0adc681ed2 (diff) | |
download | ffmpeg-5a421d538e4ccddf107c8928b690f2d6003293bd.tar.gz |
Re-indent after PAFF MMCO implementation patch.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30
Originally committed as revision 10679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index d972032274..56048d9f8e 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3493,10 +3493,10 @@ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ if(pic) unreference_pic(h, pic, 0); h->long_ref[ mmco[i].long_arg ]= remove_short(h, frame_num); - if (h->long_ref[ mmco[i].long_arg ]){ - h->long_ref[ mmco[i].long_arg ]->long_ref=1; - h->long_ref_count++; - } + if (h->long_ref[ mmco[i].long_arg ]){ + h->long_ref[ mmco[i].long_arg ]->long_ref=1; + h->long_ref_count++; + } } break; case MMCO_LONG2UNUSED: @@ -3530,12 +3530,12 @@ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ } if (unref_pic) { - pic= remove_long(h, mmco[i].long_arg); - if(pic) unreference_pic(h, pic, 0); + pic= remove_long(h, mmco[i].long_arg); + if(pic) unreference_pic(h, pic, 0); - h->long_ref[ mmco[i].long_arg ]= s->current_picture_ptr; - h->long_ref[ mmco[i].long_arg ]->long_ref=1; - h->long_ref_count++; + h->long_ref[ mmco[i].long_arg ]= s->current_picture_ptr; + h->long_ref[ mmco[i].long_arg ]->long_ref=1; + h->long_ref_count++; } s->current_picture_ptr->reference |= s->picture_structure; |