Commit fe636739 authored by michael's avatar michael

Remove redundant code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14541 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f76ce3d3
...@@ -917,10 +917,6 @@ static inline void direct_ref_list_init(H264Context * const h){ ...@@ -917,10 +917,6 @@ static inline void direct_ref_list_init(H264Context * const h){
int list, i, j; int list, i, j;
int sidx= s->picture_structure&1; int sidx= s->picture_structure&1;
int ref1sidx= ref1->reference&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++){ for(list=0; list<2; list++){
cur->ref_count[sidx][list] = h->ref_count[list]; cur->ref_count[sidx][list] = h->ref_count[list];
for(j=0; j<h->ref_count[list]; j++) for(j=0; j<h->ref_count[list]; j++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment