Mercurial > libavcodec.hg
changeset 2110:96b05a70a154 libavcodec
1000l
author | michael |
---|---|
date | Wed, 30 Jun 2004 22:39:01 +0000 |
parents | 84637c6ca74e |
children | 3c1dba53954e |
files | h264.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.c Wed Jun 30 14:15:31 2004 +0000 +++ b/h264.c Wed Jun 30 22:39:01 2004 +0000 @@ -4479,17 +4479,15 @@ } else { ref[list][i] = -1; } - h->ref_cache[list][ scan8[4*i] ]=h->ref_cache[list][ scan8[4*i]+1 ]= + h->ref_cache[list][ scan8[4*i]+1 ]= h->ref_cache[list][ scan8[4*i]+8 ]=h->ref_cache[list][ scan8[4*i]+9 ]= ref[list][i]; } } } for(list=0; list<2; list++){ - for(i=0; i<4; i++){ - //h->ref_cache[list][ scan8[4*i] ]=h->ref_cache[list][ scan8[4*i]+1 ]= - //h->ref_cache[list][ scan8[4*i]+8 ]=h->ref_cache[list][ scan8[4*i]+9 ]= ref[list][i]; + h->ref_cache[list][ scan8[4*i] ]=h->ref_cache[list][ scan8[4*i]+1 ]; if(IS_DIR(h->sub_mb_type[i], 0, list) && !IS_DIRECT(h->sub_mb_type[i])){ const int sub_mb_type= h->sub_mb_type[i];