Remove strange long_ref=0.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 25 Jul 2008 12:34:39 +0000 (12:34 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 25 Jul 2008 12:34:39 +0000 (12:34 +0000)
Originally committed as revision 14391 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 7de129b..1c26926 100644 (file)
@@ -3577,7 +3577,6 @@ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_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;
         }