simplify
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Dec 2006 15:22:16 +0000 (15:22 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Dec 2006 15:22:16 +0000 (15:22 +0000)
Originally committed as revision 7345 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/motion_est.c

index 3fb0d5f..775544b 100644 (file)
@@ -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;