[SCM] libav/experimental: simplify

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:54:23 UTC 2013


The following commit has been merged in the experimental branch:
commit 2175b80bed49eb45ccb43539838dceeec745703e
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Thu Dec 21 15:22:16 2006 +0000

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

diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index 3fb0d5f..775544b 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -1823,8 +1823,8 @@ static inline int direct_search(MpegEncContext * s, int mb_x, int mb_y)
 
     get_limits(s, 16*mb_x, 16*mb_y); //restore c->?min/max, maybe not needed
 
-    s->b_direct_mv_table[mot_xy][0]= mx;
-    s->b_direct_mv_table[mot_xy][1]= my;
+    mv_table[mot_xy][0]= mx;
+    mv_table[mot_xy][1]= my;
     c->flags     &= ~FLAG_DIRECT;
     c->sub_flags &= ~FLAG_DIRECT;
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list