From: Michael Niedermayer Date: Fri, 25 Jul 2008 12:34:39 +0000 (+0000) Subject: Remove strange long_ref=0. X-Git-Tag: v0.5~3506 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f45060851e247e0d910815e7c13714b3002f4e6;p=platform%2Fupstream%2Flibav.git Remove strange long_ref=0. Originally committed as revision 14391 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 7de129b..1c26926 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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; }