# HG changeset patch # User michael # Date 1217890374 0 # Node ID edea5d7db24d92f89b4d27098e5d346b57642569 # Parent ecf3c774f5e108a6b9abd574b4daf1acef6384f8 Remove redundant code. diff -r ecf3c774f5e1 -r edea5d7db24d h264.c --- a/h264.c Mon Aug 04 22:32:41 2008 +0000 +++ b/h264.c Mon Aug 04 22:52:54 2008 +0000 @@ -917,10 +917,6 @@ int list, i, j; int sidx= s->picture_structure&1; int ref1sidx= ref1->reference&1; - if(cur->pict_type == FF_I_TYPE) - cur->ref_count[sidx][0] = 0; - if(cur->pict_type != FF_B_TYPE) - cur->ref_count[sidx][1] = 0; for(list=0; list<2; list++){ cur->ref_count[sidx][list] = h->ref_count[list]; for(j=0; jref_count[list]; j++)