# HG changeset patch # User andoma # Date 1191685855 0 # Node ID 74fa2587b8de39b7953f05f84121b3ed86cd2195 # Parent af2dab646defb9d18acc2284e7fbe06a48340281 Cosmetic renaming variable so that it makes more sense for forthcoming PAFF mmco patches. 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 af2dab646def -r 74fa2587b8de h264.c --- a/h264.c Sat Oct 06 15:49:13 2007 +0000 +++ b/h264.c Sat Oct 06 15:50:55 2007 +0000 @@ -3458,7 +3458,7 @@ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ MpegEncContext * const s = &h->s; int i, j; - int current_is_long=0; + int current_ref_assigned=0; Picture *pic; if((s->avctx->debug&FF_DEBUG_MMCO) && mmco_count==0) @@ -3501,7 +3501,7 @@ h->long_ref[ mmco[i].long_arg ]->long_ref=1; h->long_ref_count++; - current_is_long=1; + current_ref_assigned=1; break; case MMCO_SET_MAX_LONG: assert(mmco[i].long_arg <= 16); @@ -3525,7 +3525,7 @@ } } - if(!current_is_long){ + if(!current_ref_assigned){ pic= remove_short(h, s->current_picture_ptr->frame_num); if(pic){ unreference_pic(h, pic, 0);