diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-06-30 22:39:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-06-30 22:39:01 +0000 |
commit | 68b3ba0dfa9f6a21b3d1e15c32af4561f2009939 (patch) | |
tree | 0e6f802bac8d0e71e8b039354fa7a036eb33b5de | |
parent | 3c13647a8a0337a84ad3639ea0d727ed2b7f09d9 (diff) | |
download | ffmpeg-68b3ba0dfa9f6a21b3d1e15c32af4561f2009939.tar.gz |
1000l
Originally committed as revision 3277 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/h264.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f6e2934b17..c573b7996b 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -4479,17 +4479,15 @@ decode_intra_mb: } 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]; |