# HG changeset patch # User cehoyos # Date 1191800811 0 # Node ID b92c03847d605f5a665cc0a787f8f04d56b302aa # Parent 8121e27dd9cc49ab8bf3699761a4188610381caa 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 diff -r 8121e27dd9cc -r b92c03847d60 h264.c --- a/h264.c Sun Oct 07 23:32:42 2007 +0000 +++ b/h264.c Sun Oct 07 23:46:51 2007 +0000 @@ -3493,10 +3493,10 @@ 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 @@ } if (unref_pic) { - 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++; + 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++; } s->current_picture_ptr->reference |= s->picture_structure;