[FFmpeg-cvslog] r14541 - trunk/libavcodec/h264.c
michael
subversion
Tue Aug 5 00:52:54 CEST 2008
Author: michael
Date: Tue Aug 5 00:52:54 2008
New Revision: 14541
Log:
Remove redundant code.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Tue Aug 5 00:52:54 2008
@@ -917,10 +917,6 @@ static inline void direct_ref_list_init(
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++)
More information about the ffmpeg-cvslog
mailing list