Mercurial > libavcodec.hg
comparison h264.c @ 2673:6f04c7a5bf24 libavcodec
typo found by Chengji Zhao
author | michael |
---|---|
date | Thu, 12 May 2005 23:34:23 +0000 |
parents | a4e3a37ed57b |
children | 58fb8e1efcae |
comparison
equal
deleted
inserted
replaced
2672:be04f746d1fe | 2673:6f04c7a5bf24 |
---|---|
3215 if(list && (smallest_poc_greater_than_current<=0 || smallest_poc_greater_than_current>=h->short_ref_count) && (1 < index)){ | 3215 if(list && (smallest_poc_greater_than_current<=0 || smallest_poc_greater_than_current>=h->short_ref_count) && (1 < index)){ |
3216 // swap the two first elements of L1 when | 3216 // swap the two first elements of L1 when |
3217 // L0 and L1 are identical | 3217 // L0 and L1 are identical |
3218 Picture temp= h->default_ref_list[1][0]; | 3218 Picture temp= h->default_ref_list[1][0]; |
3219 h->default_ref_list[1][0] = h->default_ref_list[1][1]; | 3219 h->default_ref_list[1][0] = h->default_ref_list[1][1]; |
3220 h->default_ref_list[1][0] = temp; | 3220 h->default_ref_list[1][1] = temp; |
3221 } | 3221 } |
3222 | 3222 |
3223 if(index < h->ref_count[ list ]) | 3223 if(index < h->ref_count[ list ]) |
3224 memset(&h->default_ref_list[list][index], 0, sizeof(Picture)*(h->ref_count[ list ] - index)); | 3224 memset(&h->default_ref_list[list][index], 0, sizeof(Picture)*(h->ref_count[ list ] - index)); |
3225 } | 3225 } |