Mercurial > libavcodec.hg
diff h264.c @ 2110:96b05a70a154 libavcodec
1000l
author | michael |
---|---|
date | Wed, 30 Jun 2004 22:39:01 +0000 |
parents | acc845e25a68 |
children | 48d9f86fb047 |
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];