From 6f45060851e247e0d910815e7c13714b3002f4e6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 25 Jul 2008 12:34:39 +0000 Subject: [PATCH] Remove strange long_ref=0. Originally committed as revision 14391 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.7.4