Remove 3 mv_cache zeroing instructions that zeroed the right side.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Feb 2010 02:54:03 +0000 (02:54 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Feb 2010 02:54:03 +0000 (02:54 +0000)
This seems unneeded as nothing seems to ever set it to non zero values.

Originally committed as revision 22070 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.h

index 8754d0d..7f1dee3 100644 (file)
@@ -1042,9 +1042,6 @@ static void fill_decode_caches(H264Context *h, int mb_type){
             h->ref_cache[list][scan8[13]+1] =  //FIXME remove past 3 (init somewhere else)
             h->ref_cache[list][scan8[4 ]] =
             h->ref_cache[list][scan8[12]] = PART_NOT_AVAILABLE;
-            AV_ZERO32(h->mv_cache [list][scan8[5 ]+1]);
-            AV_ZERO32(h->mv_cache [list][scan8[7 ]+1]);
-            AV_ZERO32(h->mv_cache [list][scan8[13]+1]); //FIXME remove past 3 (init somewhere else)
             AV_ZERO32(h->mv_cache [list][scan8[4 ]]);
             AV_ZERO32(h->mv_cache [list][scan8[12]]);