[SCM] libav/experimental: Remove 3 mv_cache zeroing instructions that zeroed the right side. This seems unneeded as nothing seems to ever set it to non zero values.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:01:52 UTC 2013


The following commit has been merged in the experimental branch:
commit 77c6edb846b9530536dd04a2c6d9742130c60398
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Feb 26 02:54:03 2010 +0000

    Remove 3 mv_cache zeroing instructions that zeroed the right side.
    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

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 8754d0d..7f1dee3 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -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]]);
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list