diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-08-04 22:52:54 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-08-04 22:52:54 +0000 |
commit | fa6a6c59e0e8ed7533d83281652bf72e17bc1087 (patch) | |
tree | cbf6275f5274d7bb102061cc34afa54698841e44 /libavcodec/h264.c | |
parent | 7762cc3dd4ee98e81c7c383f0ebe59a20de39d12 (diff) | |
download | ffmpeg-fa6a6c59e0e8ed7533d83281652bf72e17bc1087.tar.gz |
Remove redundant code.
Originally committed as revision 14541 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f66b4925f5..35a57a2bc5 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -917,10 +917,6 @@ static inline void direct_ref_list_init(H264Context * const h){ 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; j<h->ref_count[list]; j++) |